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

Unified Diff: ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.h

Issue 2670843003: Removes unnecessary mock methods in fake identity service (Closed)
Patch Set: override Created 3 years, 10 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 | « no previous file | ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.h
diff --git a/ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.h b/ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.h
index c3e52c47f30cdc8989e9edcd12b8ae4452470745..8b5cfa1179cfb18ca9093dc5fabcfd8d5efec762 100644
--- a/ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.h
+++ b/ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.h
@@ -42,21 +42,22 @@ class FakeChromeIdentityService : public ChromeIdentityService {
void ForgetIdentity(ChromeIdentity* identity,
ForgetIdentityCallback callback) override;
- MOCK_METHOD5(GetAccessToken,
- void(ChromeIdentity* identity,
- const std::string& client_id,
- const std::string& client_secret,
- const std::set<std::string>& scopes,
- const ios::AccessTokenCallback& callback));
+ virtual void GetAccessToken(
+ ChromeIdentity* identity,
+ const std::string& client_id,
+ const std::string& client_secret,
+ const std::set<std::string>& scopes,
+ const ios::AccessTokenCallback& callback) override;
- MOCK_METHOD2(GetAvatarForIdentity,
- void(ChromeIdentity* identity, GetAvatarCallback callback));
+ virtual void GetAvatarForIdentity(ChromeIdentity* identity,
+ GetAvatarCallback callback) override;
- MOCK_METHOD1(GetCachedAvatarForIdentity, UIImage*(ChromeIdentity* identity));
+ virtual UIImage* GetCachedAvatarForIdentity(
+ ChromeIdentity* identity) override;
- MOCK_METHOD2(GetHostedDomainForIdentity,
- void(ChromeIdentity* identity,
- GetHostedDomainCallback callback));
+ virtual void GetHostedDomainForIdentity(
+ ChromeIdentity* identity,
+ GetHostedDomainCallback callback) override;
MOCK_METHOD1(GetMDMDeviceStatus,
ios::MDMDeviceStatus(NSDictionary* user_info));
« no previous file with comments | « no previous file | ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698