-
Notifications
You must be signed in to change notification settings - Fork 878
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop patch for profile_io_data.cc and use chromium_src instead
The idea of this patch was simply to make sure that the brave:// scheme gets considered by ProfileIOData::IsHandledProtocol() along with other schemes, but we can achieve the same goal just using chromium_src overrides, so let's do that instead. Fixes brave/brave-browser#14238
- Loading branch information
Showing
3 changed files
with
48 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* 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_CHROMIUM_SRC_CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | ||
#define BRAVE_CHROMIUM_SRC_CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | ||
|
||
#include <string> | ||
#include "url/gurl.h" | ||
|
||
#define IsHandledProtocol \ | ||
IsHandledProtocol_ChromiumImpl(const std::string& scheme); \ | ||
static bool IsHandledProtocol | ||
|
||
#define IsHandledURL \ | ||
IsHandledURL_ChromiumImpl(const GURL& url); \ | ||
static bool IsHandledURL | ||
|
||
#include "../../../../../chrome/browser/profiles/profile_io_data.h" | ||
|
||
#undef IsHandledURL | ||
#undef IsHandledProtocol | ||
|
||
#endif // BRAVE_CHROMIUM_SRC_CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
This file was deleted.
Oops, something went wrong.