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

Unified Diff: chrome/browser/sync/engine/authenticator.cc

Issue 251080: Sync: Remove pthreads from event_sys code. Remove asynch version of GaiaAuthe... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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/sync/engine/auth_watcher.cc ('k') | chrome/browser/sync/engine/client_command_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/authenticator.cc
===================================================================
--- chrome/browser/sync/engine/authenticator.cc (revision 27909)
+++ chrome/browser/sync/engine/authenticator.cc (working copy)
@@ -35,10 +35,11 @@
// than the test code.
GaiaAuthenticator auth_service("ChromiumBrowser", "chromiumsync",
"https://www.google.com:443/accounts/ClientLogin");
+ auth_service.set_message_loop(MessageLoop::current());
const SignIn signin_type =
settings_->RecallSigninType(username, GMAIL_SIGNIN);
if (!auth_service.Authenticate(username, password, SAVE_IN_MEMORY_ONLY,
- true, signin_type)) {
+ signin_type)) {
return UNSPECIFIC_ERROR_RETURN;
}
CHECK(!auth_service.auth_token().empty());
« no previous file with comments | « chrome/browser/sync/engine/auth_watcher.cc ('k') | chrome/browser/sync/engine/client_command_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698