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

Unified Diff: chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.h

Issue 2672833002: [Desktop] Add diagnostics about loading the refresh tokens. (Closed)
Patch Set: Nit Created 3 years, 11 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/mutable_profile_oauth2_token_service_delegate.h
diff --git a/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.h b/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.h
index 119b5e76b49839354d208d424af05390b93ce8d7..2e5e5ab33bc5cb5a06fa95e93ea4435ccad00efc 100644
--- a/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.h
+++ b/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.h
@@ -54,6 +54,7 @@ class MutableProfileOAuth2TokenServiceDelegate
// Overridden from OAuth2TokenServiceDelegate.
void Shutdown() override;
+ LoadCredentialsState GetLoadCredentialsState() const override;
// Overridden from NetworkChangeObserver.
void OnNetworkChanged(net::NetworkChangeNotifier::ConnectionType type)
@@ -151,6 +152,9 @@ class MutableProfileOAuth2TokenServiceDelegate
// credentials. This member is empty otherwise.
std::string loading_primary_account_id_;
+ // The state of the load credentials operation.
+ LoadCredentialsState load_credentials_state_;
+
ScopedVector<RevokeServerRefreshToken> server_revokes_;
// Used to verify that certain methods are called only on the thread on which

Powered by Google App Engine
This is Rietveld 408576698