13 lines
688 B
Diff
13 lines
688 B
Diff
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
|
|
index 8905fccd5148e5dd6cbc71e5ded09dfbcad015b3..d76b61ebdce073682a14f3459c4e0d3a87478b85 100644
|
|
--- a/chrome/browser/profiles/profile.cc
|
|
+++ b/chrome/browser/profiles/profile.cc
|
|
@@ -123,6 +123,7 @@ bool Profile::OTRProfileID::AllowsBrowserWindows() const {
|
|
// DevTools::BrowserContext, MediaRouter::Presentation, and
|
|
// CaptivePortal::Signin are exceptions to this ban.
|
|
if (*this == PrimaryID() || IsDevTools() ||
|
|
+ BRAVE_ALLOWS_BROWSER_WINDOWS
|
|
base::StartsWith(profile_id_, kMediaRouterOTRProfileIDPrefix,
|
|
base::CompareCase::SENSITIVE)) {
|
|
return true;
|