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

Side by Side Diff: chrome/browser/net_benchmarking.cc

Issue 2828663002: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/{i,l,m,n,p,r}* (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/net_benchmarking.h" 5 #include "chrome/browser/net_benchmarking.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 ->http_transaction_factory() 95 ->http_transaction_factory()
96 ->GetCache() 96 ->GetCache()
97 ->CloseAllConnections(); 97 ->CloseAllConnections();
98 callback.Run(); 98 callback.Run();
99 } 99 }
100 100
101 void NetBenchmarking::ClearPredictorCache( 101 void NetBenchmarking::ClearPredictorCache(
102 const ClearPredictorCacheCallback& callback) { 102 const ClearPredictorCacheCallback& callback) {
103 BrowserThread::PostTaskAndReply( 103 BrowserThread::PostTaskAndReply(
104 BrowserThread::UI, FROM_HERE, 104 BrowserThread::UI, FROM_HERE,
105 base::Bind(&ClearPredictorCacheOnUIThread, profile_), callback); 105 base::BindOnce(&ClearPredictorCacheOnUIThread, profile_), callback);
106 } 106 }
OLDNEW
« no previous file with comments | « chrome/browser/nacl_host/nacl_browser_delegate_impl.cc ('k') | chrome/browser/ntp_snippets/download_suggestions_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698