Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1230)

Unified Diff: content/browser/browser_main_loop.cc

Issue 2831683002: Introduce support for origins that require process isolation. (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 7b6135ce7a876b1dd5cea190b4056c68c68a2478..67f4931644309cb8a5fa6eea0682c135b9b9c35d 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -73,6 +73,7 @@
#include "content/browser/renderer_host/media/media_stream_manager.h"
#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/browser/service_manager/service_manager_context.h"
+#include "content/browser/site_instance_impl.h"
#include "content/browser/speech/speech_recognition_manager_impl.h"
#include "content/browser/startup_task_runner.h"
#include "content/browser/utility_process_host_impl.h"
@@ -628,6 +629,11 @@ void BrowserMainLoop::EarlyInitialization() {
}
}
+ if (parsed_command_line_.HasSwitch(switches::kIsolateOrigins)) {
+ SiteInstanceImpl::AddIsolatedOriginsFromCommandLine(
+ parsed_command_line_.GetSwitchValueASCII(switches::kIsolateOrigins));
+ }
+
if (parts_)
parts_->PostEarlyInitialization();
}
« no previous file with comments | « no previous file | content/browser/isolated_origin_browsertest.cc » ('j') | content/browser/isolated_origin_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698