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(); |
} |