21 lines
1007 B
Diff
21 lines
1007 B
Diff
diff --git a/chrome/browser/ui/browser_navigator.cc b/chrome/browser/ui/browser_navigator.cc
|
|
index abe8e2d792d539c8f550e646820f266f57debf53..8716b4b9a94c409fe5783fd7e1487aa17fdb2aca 100644
|
|
--- a/chrome/browser/ui/browser_navigator.cc
|
|
+++ b/chrome/browser/ui/browser_navigator.cc
|
|
@@ -595,6 +595,7 @@ base::WeakPtr<content::NavigationHandle> Navigate(NavigateParams* params) {
|
|
// Block any navigation requests in locked fullscreen mode.
|
|
return nullptr;
|
|
}
|
|
+ BRAVE_ADJUST_NAVIGATE_PARAMS_FOR_URL
|
|
|
|
// Open System Apps in their standalone window if necessary.
|
|
// TODO(crbug.com/1096345): Remove this code after we integrate with intent
|
|
@@ -890,6 +891,7 @@ base::WeakPtr<content::NavigationHandle> Navigate(NavigateParams* params) {
|
|
bool IsHostAllowedInIncognito(const GURL& url) {
|
|
std::string scheme = url.scheme();
|
|
base::StringPiece host = url.host_piece();
|
|
+ if (!IsHostAllowedInIncognitoBraveImpl(host)) return false;
|
|
if (scheme != content::kChromeUIScheme)
|
|
return true;
|
|
|