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

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

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
« no previous file with comments | « ios/public/test/fake_profile_oauth2_token_service_ios_provider.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/public/test/fake_profile_oauth2_token_service_ios_provider.mm
diff --git a/ios/public/test/fake_profile_oauth2_token_service_ios_provider.mm b/ios/public/test/fake_profile_oauth2_token_service_ios_provider.mm
index e6ff73d085dad5e7ff976b2ea96b3ae1edc8fab3..492877319f382da37d8d665d03d79ad0028b6ef1 100644
--- a/ios/public/test/fake_profile_oauth2_token_service_ios_provider.mm
+++ b/ios/public/test/fake_profile_oauth2_token_service_ios_provider.mm
@@ -12,8 +12,7 @@
namespace ios {
FakeProfileOAuth2TokenServiceIOSProvider::
- FakeProfileOAuth2TokenServiceIOSProvider()
- : is_using_shared_authentication_(true) {}
+ FakeProfileOAuth2TokenServiceIOSProvider() {}
FakeProfileOAuth2TokenServiceIOSProvider::
~FakeProfileOAuth2TokenServiceIOSProvider() {}
@@ -24,7 +23,6 @@ void FakeProfileOAuth2TokenServiceIOSProvider::GetAccessToken(
const std::string& client_secret,
const std::set<std::string>& scopes,
const AccessTokenCallback& callback) {
- DCHECK(is_using_shared_authentication_);
requests_.push_back(AccessTokenRequest(account_id, callback));
}
@@ -73,11 +71,6 @@ void FakeProfileOAuth2TokenServiceIOSProvider::
requests_.clear();
}
-bool FakeProfileOAuth2TokenServiceIOSProvider::IsUsingSharedAuthentication()
- const {
- return is_using_shared_authentication_;
-}
-
void
FakeProfileOAuth2TokenServiceIOSProvider::InitializeSharedAuthentication() {}
« no previous file with comments | « ios/public/test/fake_profile_oauth2_token_service_ios_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698