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

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

Issue 2673553003: [ObjC ARC] Converts ios/chrome/browser/ui/history:eg_tests to ARC. (Closed)
Patch Set: 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: ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.mm
diff --git a/ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.mm b/ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.mm
index aeea097f4d90e1d353029f2ca74c7dc7bb9f0d10..f5678eabaa9274f12166cd22a1a7987b27cbb4e3 100644
--- a/ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.mm
+++ b/ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.mm
@@ -210,6 +210,11 @@ void FakeChromeIdentityService::ForgetIdentity(
}
}
+UIImage* FakeChromeIdentityService::GetCachedAvatarForIdentity(
+ ChromeIdentity* identity) {
+ return FakeGetCachedAvatarForIdentity(identity);
+}
+
void FakeChromeIdentityService::SetUpForIntegrationTests() {
ON_CALL(*this, GetAccessToken(_, _, _, _, _))
.WillByDefault(Invoke(FakeGetAccessToken));
@@ -217,9 +222,6 @@ void FakeChromeIdentityService::SetUpForIntegrationTests() {
ON_CALL(*this, GetAvatarForIdentity(_, _))
.WillByDefault(Invoke(FakeGetAvatarForIdentity));
- ON_CALL(*this, GetCachedAvatarForIdentity(_))
- .WillByDefault(Invoke(FakeGetCachedAvatarForIdentity));
-
ON_CALL(*this, GetHostedDomainForIdentity(_, _))
.WillByDefault(Invoke(FakeGetHostedDomainForIdentity));
}

Powered by Google App Engine
This is Rietveld 408576698