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

Unified Diff: content/public/test/test_launcher.cc

Issue 11572036: Do not load extension system in the Profile import process. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: comment about test-only function Created 8 years 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/public/test/test_launcher.cc
diff --git a/content/public/test/test_launcher.cc b/content/public/test/test_launcher.cc
index e1248296f3a9ea9c17181538138a07ce5d6b7c79..cccb55bc750ed556219ffd4939b259e75dbf9344 100644
--- a/content/public/test/test_launcher.cc
+++ b/content/public/test/test_launcher.cc
@@ -637,8 +637,6 @@ const char kGTestOutputFlag[] = "gtest_output";
const char kHelpFlag[] = "help";
-const char kLaunchAsBrowser[] = "as-browser";
-
// See kManualTestPrefix above.
const char kRunManualTestsFlag[] = "run-manual";
@@ -654,7 +652,7 @@ bool ShouldRunContentMain() {
#if defined(OS_WIN) || defined(OS_LINUX)
CommandLine* command_line = CommandLine::ForCurrentProcess();
return command_line->HasSwitch(switches::kProcessType) ||
- command_line->HasSwitch(kLaunchAsBrowser);
+ command_line->HasSwitch(switches::kLaunchAsBrowser);
#else
return false;
#endif // defined(OS_WIN) || defined(OS_LINUX)
« content/public/common/content_switches.cc ('K') | « content/public/test/test_launcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698