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

Unified Diff: chrome/browser/geolocation/chrome_access_token_store.cc

Issue 2825003002: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/{a,b,c,d,e,f,g}* (Closed)
Patch Set: split rest of changes to 3 CLs Created 3 years, 8 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 | « chrome/browser/geolocation/access_token_store_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/geolocation/chrome_access_token_store.cc
diff --git a/chrome/browser/geolocation/chrome_access_token_store.cc b/chrome/browser/geolocation/chrome_access_token_store.cc
index 0aaa83019d32c284ef49fd64d5a651bccfadb5ab..633344e1b58cd63ccd9c21d4ba68dfe53c605ba4 100644
--- a/chrome/browser/geolocation/chrome_access_token_store.cc
+++ b/chrome/browser/geolocation/chrome_access_token_store.cc
@@ -47,10 +47,9 @@ class TokenLoadingJob : public base::RefCountedThreadSafe<TokenLoadingJob> {
void Run() {
BrowserThread::PostTaskAndReply(
- BrowserThread::UI,
- FROM_HERE,
- base::Bind(&TokenLoadingJob::PerformWorkOnUIThread, this),
- base::Bind(&TokenLoadingJob::RespondOnOriginatingThread, this));
+ BrowserThread::UI, FROM_HERE,
+ base::BindOnce(&TokenLoadingJob::PerformWorkOnUIThread, this),
+ base::BindOnce(&TokenLoadingJob::RespondOnOriginatingThread, this));
}
private:
@@ -127,5 +126,5 @@ void ChromeAccessTokenStore::SaveAccessToken(
const base::string16& access_token) {
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
- base::Bind(&SetAccessTokenOnUIThread, server_url, access_token));
+ base::BindOnce(&SetAccessTokenOnUIThread, server_url, access_token));
}
« no previous file with comments | « chrome/browser/geolocation/access_token_store_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698