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

Unified Diff: chrome/browser/extensions/extension_browsertest.cc

Issue 13671005: Re-apply 192420: Move login switches to src/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« no previous file with comments | « chrome/browser/extensions/component_loader.cc ('k') | chrome/browser/extensions/extension_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_browsertest.cc
diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc
index bb85609afb90eaf7e71b6e1ff536824a54c521fc..b051df9d0a3d7bdeaca30ad6c6fc22ddbf50e2db 100644
--- a/chrome/browser/extensions/extension_browsertest.cc
+++ b/chrome/browser/extensions/extension_browsertest.cc
@@ -46,6 +46,10 @@
#include "extensions/common/constants.h"
#include "sync/api/string_ordinal.h"
+#if defined(OS_CHROMEOS)
+#include "chromeos/chromeos_switches.h"
+#endif
+
using extensions::Extension;
using extensions::ExtensionCreator;
using extensions::FeatureSwitch;
@@ -101,9 +105,9 @@ void ExtensionBrowserTest::SetUpCommandLine(CommandLine* command_line) {
// This makes sure that we create the Default profile first, with no
// ExtensionService and then the real profile with one, as we do when
// running on chromeos.
- command_line->AppendSwitchASCII(switches::kLoginUser,
+ command_line->AppendSwitchASCII(chromeos::switches::kLoginUser,
"TestUser@gmail.com");
- command_line->AppendSwitchASCII(switches::kLoginProfile, "user");
+ command_line->AppendSwitchASCII(chromeos::switches::kLoginProfile, "user");
#endif
}
« no previous file with comments | « chrome/browser/extensions/component_loader.cc ('k') | chrome/browser/extensions/extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698