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

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

Issue 2970703002: Change GetAccessToken APIs so that they don't pass const ref to blocks. (Closed)
Patch Set: Created 3 years, 5 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.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 7f9e7c907cf85d5c4c135cf98b6a13f376dedb69..b9971fbc43624d78f5125ced5dd31b7991a7242b 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
@@ -41,12 +41,11 @@ class FakeChromeIdentityService : public ChromeIdentityService {
void ForgetIdentity(ChromeIdentity* identity,
ForgetIdentityCallback callback) override;
- 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;
+ virtual void GetAccessToken(ChromeIdentity* identity,
+ const std::string& client_id,
+ const std::string& client_secret,
+ const std::set<std::string>& scopes,
+ ios::AccessTokenCallback callback) override;
virtual void GetAvatarForIdentity(ChromeIdentity* identity,
GetAvatarCallback callback) override;

Powered by Google App Engine
This is Rietveld 408576698