Files
brave-core/browser/ui/brave_scheme_utils.h

17 lines
625 B
C++

// Copyright (c) 2024 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 https://mozilla.org/MPL/2.0/.
#ifndef BRAVE_BROWSER_UI_BRAVE_SCHEME_UTILS_H_
#define BRAVE_BROWSER_UI_BRAVE_SCHEME_UTILS_H_
#include <string>
namespace brave_utils {
// Replaces the chrome:// scheme with brave:// scheme in the given |url_string|.
bool ReplaceChromeToBraveScheme(std::u16string& url_string);
} // namespace brave_utils
#endif // BRAVE_BROWSER_UI_BRAVE_SCHEME_UTILS_H_