/* Copyright (c) 2021 The Brave Authors. All rights reserved. * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef BRAVE_BROWSER_DEFAULT_PROTOCOL_HANDLER_UTILS_WIN_H_ #define BRAVE_BROWSER_DEFAULT_PROTOCOL_HANDLER_UTILS_WIN_H_ #include #include #include namespace protocol_handler_utils { // Exported for testing. std::wstring GenerateUserChoiceHash(std::wstring_view ext, std::wstring_view sid, std::wstring_view prog_id, SYSTEMTIME timestamp); bool SetDefaultProtocolHandlerFor(std::wstring_view protocol); bool IsDefaultProtocolHandlerFor(std::wstring_view protocol); } // namespace protocol_handler_utils #endif // BRAVE_BROWSER_DEFAULT_PROTOCOL_HANDLER_UTILS_WIN_H_