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

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

Issue 240333011: Always load signin profile on Chrome OS startup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Next iteration. Created 6 years, 7 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/extension_browsertest.h ('k') | chrome/browser/profiles/profile_manager.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 aa62007d19363d0e681198ff02f78025ce7aeae1..8aa28702466fb4869b4733f7a1c0a53c12d454f0 100644
--- a/chrome/browser/extensions/extension_browsertest.cc
+++ b/chrome/browser/extensions/extension_browsertest.cc
@@ -59,9 +59,6 @@ using extensions::Manifest;
ExtensionBrowserTest::ExtensionBrowserTest()
: loaded_(false),
installed_(false),
-#if defined(OS_CHROMEOS)
- set_chromeos_user_(true),
-#endif
// Default channel is STABLE but override with UNKNOWN so that unlaunched
// or incomplete APIs can write tests.
current_channel_(chrome::VersionInfo::CHANNEL_UNKNOWN),
@@ -107,18 +104,6 @@ void ExtensionBrowserTest::SetUp() {
void ExtensionBrowserTest::SetUpCommandLine(CommandLine* command_line) {
PathService::Get(chrome::DIR_TEST_DATA, &test_data_dir_);
test_data_dir_ = test_data_dir_.AppendASCII("extensions");
- observer_.reset(new ExtensionTestNotificationObserver(browser()));
-
-#if defined(OS_CHROMEOS)
- if (set_chromeos_user_) {
- // 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(chromeos::switches::kLoginUser,
- "TestUser@gmail.com");
- command_line->AppendSwitchASCII(chromeos::switches::kLoginProfile, "user");
- }
-#endif
}
void ExtensionBrowserTest::SetUpOnMainThread() {
« no previous file with comments | « chrome/browser/extensions/extension_browsertest.h ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698