diff options
Diffstat (limited to 'chromium/components/signin/core/browser/account_reconcilor.h')
-rw-r--r-- | chromium/components/signin/core/browser/account_reconcilor.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/chromium/components/signin/core/browser/account_reconcilor.h b/chromium/components/signin/core/browser/account_reconcilor.h index 8d17ff05150..09875297b6e 100644 --- a/chromium/components/signin/core/browser/account_reconcilor.h +++ b/chromium/components/signin/core/browser/account_reconcilor.h @@ -170,7 +170,7 @@ class AccountReconcilor : public KeyedService, FRIEND_TEST_ALL_PREFIXES(AccountReconcilorTest, DelegateTimeoutIsNotCalledIfTimeoutIsNotReached); - void set_timer_for_testing(std::unique_ptr<base::Timer> timer); + void set_timer_for_testing(std::unique_ptr<base::OneShotTimer> timer); bool IsRegisteredWithTokenService() const { return registered_with_token_service_; @@ -215,11 +215,10 @@ class AccountReconcilor : public KeyedService, bool IsTokenServiceReady(); // Overriden from content_settings::Observer. - void OnContentSettingChanged( - const ContentSettingsPattern& primary_pattern, - const ContentSettingsPattern& secondary_pattern, - ContentSettingsType content_type, - std::string resource_identifier) override; + void OnContentSettingChanged(const ContentSettingsPattern& primary_pattern, + const ContentSettingsPattern& secondary_pattern, + ContentSettingsType content_type, + const std::string& resource_identifier) override; // Overriden from GaiaGookieManagerService::Observer. void OnAddAccountToCookieCompleted( @@ -306,7 +305,7 @@ class AccountReconcilor : public KeyedService, // of reconciliation completing within a finite time. It is technically // possible for account reconciliation to be running/waiting forever in cases // such as a network connection not being present. - std::unique_ptr<base::Timer> timer_; + std::unique_ptr<base::OneShotTimer> timer_; base::TimeDelta timeout_; DISALLOW_COPY_AND_ASSIGN(AccountReconcilor); |