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. |