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

Unified Diff: content/shell/app/shell_main_delegate.cc

Issue 65193003: Clear SingleProcess and InProcessGPU logic. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: WIP: diable kSingleProcess and kInProcessGPU in chrome multiple dll browser. Created 7 years, 1 month 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/app/shell_main_delegate.cc
diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc
index 7f1d570adeb1f7d2ee6d09429730b2cdae306ed7..16082afbaa4a859def519961f6b317c2545f3265 100644
--- a/content/shell/app/shell_main_delegate.cc
+++ b/content/shell/app/shell_main_delegate.cc
@@ -176,6 +176,19 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) {
command_line.AppendSwitch(switches::kDisableDelegatedRenderer);
#endif
+#if defined(CHROME_MULTIPLE_DLL_BROWSER)
+ if (command_line.HasSwitch(switches::kSingleProcess)) {
+ command_line.RemoveSwitch(switches::kSingleProcess);
+ LOG(ERROR) <<
+ "--single-process is not supported in chrome multiple dll browser.";
+ }
+ if (command_line.HasSwitch(switches::kInProcessGPU)) {
+ command_line.RemoveSwitch(switches::kInProcessGPU);
+ LOG(ERROR) <<
+ "--in-process-gpu is not supported in chrome multiple dll browser.";
+ }
+#endif
dshwang 2013/11/11 13:50:47 How about this code? It looks good to me. :)
+
net::CookieMonster::EnableFileScheme();
// Unless/until WebM files are added to the media layout tests, we need to
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698