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

Unified Diff: chrome/browser/signin/signin_tracker_factory.cc

Issue 1075273002: Handle ListAccount fetches from within the GaiaCookieManagerService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a test post rebase Created 5 years, 8 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
Index: chrome/browser/signin/signin_tracker_factory.cc
diff --git a/chrome/browser/signin/signin_tracker_factory.cc b/chrome/browser/signin/signin_tracker_factory.cc
index 0c9f3dae1ece0030d618441abf6a1353cc38880e..0e1a5372695221cbf65c30e9d9699e276d98c74b 100644
--- a/chrome/browser/signin/signin_tracker_factory.cc
+++ b/chrome/browser/signin/signin_tracker_factory.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/signin/signin_tracker_factory.h"
-#include "chrome/browser/signin/account_reconcilor_factory.h"
#include "chrome/browser/signin/chrome_signin_client_factory.h"
#include "chrome/browser/signin/gaia_cookie_manager_service_factory.h"
#include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
@@ -18,15 +17,9 @@ SigninTrackerFactory::~SigninTrackerFactory() {}
scoped_ptr<SigninTracker> SigninTrackerFactory::CreateForProfile(
Profile* profile,
SigninTracker::Observer* observer) {
- // Determine whether to use the AccountReconcilor.
- AccountReconcilor* account_reconcilor = NULL;
- if (switches::IsEnableAccountConsistency())
- account_reconcilor = AccountReconcilorFactory::GetForProfile(profile);
-
return scoped_ptr<SigninTracker>(new SigninTracker(
ProfileOAuth2TokenServiceFactory::GetForProfile(profile),
SigninManagerFactory::GetForProfile(profile),
- account_reconcilor,
GaiaCookieManagerServiceFactory::GetForProfile(profile),
ChromeSigninClientFactory::GetForProfile(profile),
observer));
« no previous file with comments | « chrome/browser/signin/fake_gaia_cookie_manager_service.cc ('k') | chrome/browser/ui/webui/signin_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698