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

Unified Diff: chrome/browser/chromeos/login/login_utils_browsertest.cc

Issue 11991002: Merge 176800 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1364/src/
Patch Set: Created 7 years, 11 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/chromeos/login/login_utils.cc ('k') | chrome/browser/chromeos/login/mock_login_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/login_utils_browsertest.cc
===================================================================
--- chrome/browser/chromeos/login/login_utils_browsertest.cc (revision 177312)
+++ chrome/browser/chromeos/login/login_utils_browsertest.cc (working copy)
@@ -182,6 +182,9 @@
CommandLine* command_line = CommandLine::ForCurrentProcess();
command_line->AppendSwitchASCII(switches::kDeviceManagementUrl, kDMServer);
command_line->AppendSwitchASCII(switches::kLoginProfile, "user");
+ // TODO(mnissler): Figure out how to beat this test into submission on
+ // OAuth2 path.
+ command_line->AppendSwitch(switches::kForceOAuth1);
local_state_.Get()->RegisterStringPref(prefs::kApplicationLocale, "");
@@ -402,12 +405,10 @@
username,
"password");
- const bool kPendingRequests = false;
const bool kUsingOAuth = true;
const bool kHasCookies = true;
LoginUtils::Get()->PrepareProfile(username, std::string(), "password",
- kPendingRequests, kUsingOAuth,
- kHasCookies, this);
+ kUsingOAuth, kHasCookies, this);
device_settings_test_helper.Flush();
RunUntilIdle();
}
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/chromeos/login/mock_login_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698