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

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

Issue 809313009: Make the SigninErrorController a PKS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary header Created 5 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | components/signin/core/browser/mutable_profile_oauth2_token_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/core/browser/mutable_profile_oauth2_token_service.h
diff --git a/components/signin/core/browser/mutable_profile_oauth2_token_service.h b/components/signin/core/browser/mutable_profile_oauth2_token_service.h
index a06efba58b9588e1a90ba5dbdfda40e60c026dba..57eadb7eb8b9f41c424135fad639084517454eb8 100644
--- a/components/signin/core/browser/mutable_profile_oauth2_token_service.h
+++ b/components/signin/core/browser/mutable_profile_oauth2_token_service.h
@@ -8,6 +8,7 @@
#include "base/memory/scoped_vector.h"
#include "base/threading/thread_checker.h"
#include "components/signin/core/browser/profile_oauth2_token_service.h"
+#include "components/signin/core/browser/signin_error_controller.h"
#include "components/webdata/common/web_data_service_base.h"
#include "components/webdata/common/web_data_service_consumer.h"
@@ -37,7 +38,7 @@ class MutableProfileOAuth2TokenService : public ProfileOAuth2TokenService,
protected:
class AccountInfo : public SigninErrorController::AuthStatusProvider {
public:
- AccountInfo(ProfileOAuth2TokenService* token_service,
+ AccountInfo(SigninErrorController* signin_error_controller,
const std::string& account_id,
const std::string& refresh_token);
~AccountInfo() override;
@@ -55,7 +56,7 @@ class MutableProfileOAuth2TokenService : public ProfileOAuth2TokenService,
GoogleServiceAuthError GetAuthStatus() const override;
private:
- ProfileOAuth2TokenService* token_service_;
+ SigninErrorController* signin_error_controller_;
std::string account_id_;
std::string refresh_token_;
GoogleServiceAuthError last_auth_error_;
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | components/signin/core/browser/mutable_profile_oauth2_token_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698