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

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

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
« no previous file with comments | « ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.h ('k') | no next file » | 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.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 52d10a8a03fdfd914de06ec6ea1568f05ff37d67..6d7a522a734b77f065885097d9a393138133a0e0 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
@@ -23,7 +23,7 @@ void FakeGetAccessToken(ChromeIdentity*,
const std::string&,
const std::string&,
const std::set<std::string>&,
- const ios::AccessTokenCallback& callback) {
+ ios::AccessTokenCallback callback) {
base::mac::ScopedBlock<ios::AccessTokenCallback> safe_callback(
[callback copy]);
@@ -215,7 +215,7 @@ void FakeChromeIdentityService::GetAccessToken(
const std::string& client_id,
const std::string& client_secret,
const std::set<std::string>& scopes,
- const ios::AccessTokenCallback& callback) {
+ ios::AccessTokenCallback callback) {
FakeGetAccessToken(identity, client_id, client_secret, scopes, callback);
}
« no previous file with comments | « ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698