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

Unified Diff: components/signin/core/browser/account_tracker_service.h

Issue 471333003: Make sure avatar menu does not use account_id for display purposes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add description to fake Created 6 years, 4 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/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/core/browser/account_tracker_service.h
diff --git a/components/signin/core/browser/account_tracker_service.h b/components/signin/core/browser/account_tracker_service.h
index 62b78039d1190395a8ebde0ca9360a8be2b604a1..68cf723d2acdc280c7baa66d02c25e24b48e2fdc 100644
--- a/components/signin/core/browser/account_tracker_service.h
+++ b/components/signin/core/browser/account_tracker_service.h
@@ -103,7 +103,9 @@ class AccountTrackerService : public KeyedService,
void StartTrackingAccount(const std::string& account_id);
void StopTrackingAccount(const std::string& account_id);
- void StartFetchingUserInfo(const std::string& account_id);
+
+ // Virtual so that tests can override the network fetching behaviour.
+ virtual void StartFetchingUserInfo(const std::string& account_id);
void DeleteFetcher(AccountInfoFetcher* fetcher);
// Load the current state of the account info from the preferences file.
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698