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

Unified Diff: chrome/browser/ui/certificate_dialogs.cc

Issue 2824363002: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/ui (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/browser_instant_controller.cc ('k') | chrome/browser/ui/crypto_module_delegate_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/certificate_dialogs.cc
diff --git a/chrome/browser/ui/certificate_dialogs.cc b/chrome/browser/ui/certificate_dialogs.cc
index 132e8d3ccb961f643d311c8b879ee56f5638a7f0..b17017db6c7fa0c73f5cb03b194396308fbba7de 100644
--- a/chrome/browser/ui/certificate_dialogs.cc
+++ b/chrome/browser/ui/certificate_dialogs.cc
@@ -38,8 +38,8 @@ void WriterCallback(const base::FilePath& path, const std::string& data) {
void WriteFileOnFileThread(const base::FilePath& path,
const std::string& data) {
- BrowserThread::PostTask(
- BrowserThread::FILE, FROM_HERE, base::Bind(&WriterCallback, path, data));
+ BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE,
+ base::BindOnce(&WriterCallback, path, data));
}
std::string WrapAt64(const std::string &str) {
« no previous file with comments | « chrome/browser/ui/browser_instant_controller.cc ('k') | chrome/browser/ui/crypto_module_delegate_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698