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

Unified Diff: ios/public/test/fake_profile_oauth2_token_service_ios_provider.h

Issue 489113003: Remove MutableProfileOAuth2TokenService on iOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove DCHECK(getter). 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
Index: ios/public/test/fake_profile_oauth2_token_service_ios_provider.h
diff --git a/ios/public/test/fake_profile_oauth2_token_service_ios_provider.h b/ios/public/test/fake_profile_oauth2_token_service_ios_provider.h
index 2ca953ab7a79d332418c85468ea42d1bef4b29c6..a3ae09dd5cfa7753182299d08ccee2943d7b6922 100644
--- a/ios/public/test/fake_profile_oauth2_token_service_ios_provider.h
+++ b/ios/public/test/fake_profile_oauth2_token_service_ios_provider.h
@@ -22,7 +22,6 @@ class FakeProfileOAuth2TokenServiceIOSProvider
virtual ~FakeProfileOAuth2TokenServiceIOSProvider();
// ProfileOAuth2TokenServiceIOSProvider
- virtual bool IsUsingSharedAuthentication() const OVERRIDE;
virtual void InitializeSharedAuthentication() OVERRIDE;
virtual void GetAccessToken(const std::string& account_id,
@@ -40,9 +39,6 @@ class FakeProfileOAuth2TokenServiceIOSProvider
void AddAccount(const std::string& account_id);
void SetAccounts(const std::vector<std::string>& accounts);
void ClearAccounts();
- void set_using_shared_authentication(bool is_using_shared_authentication) {
- is_using_shared_authentication_ = is_using_shared_authentication;
- }
// Issues access token responses.
void IssueAccessTokenForAllRequests();
@@ -52,7 +48,6 @@ class FakeProfileOAuth2TokenServiceIOSProvider
typedef std::pair<std::string, AccessTokenCallback> AccessTokenRequest;
std::vector<std::string> accounts_;
- bool is_using_shared_authentication_;
std::vector<AccessTokenRequest> requests_;
DISALLOW_COPY_AND_ASSIGN(FakeProfileOAuth2TokenServiceIOSProvider);

Powered by Google App Engine
This is Rietveld 408576698