summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-17 21:33:35 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-17 21:33:35 +0000
commitaa0b33eda7f49c544a973b5acd8f9f0611d7e765 (patch)
tree98a598e8732046d497b3795287dc8d2dd389577f /chrome
parent28f3c9251dace27b202d71203756fecbbe3cbc15 (diff)
downloadchromium_src-aa0b33eda7f49c544a973b5acd8f9f0611d7e765.zip
chromium_src-aa0b33eda7f49c544a973b5acd8f9f0611d7e765.tar.gz
chromium_src-aa0b33eda7f49c544a973b5acd8f9f0611d7e765.tar.bz2
base::Bind: Convert FileUtilProxy::StatusCallback.
BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8318025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105925 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/bookmarks/bookmark_storage.cc4
-rw-r--r--chrome/browser/extensions/sandboxed_extension_unpacker.cc4
-rw-r--r--chrome/browser/printing/print_dialog_gtk.cc4
3 files changed, 3 insertions, 9 deletions
diff --git a/chrome/browser/bookmarks/bookmark_storage.cc b/chrome/browser/bookmarks/bookmark_storage.cc
index cca6f1a..671fd6c 100644
--- a/chrome/browser/bookmarks/bookmark_storage.cc
+++ b/chrome/browser/bookmarks/bookmark_storage.cc
@@ -235,9 +235,7 @@ void BookmarkStorage::OnLoadFinished(bool file_exists, const FilePath& path) {
// Clean up after migration from history.
base::FileUtilProxy::Delete(
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE),
- tmp_history_path_,
- false,
- NULL);
+ tmp_history_path_, false, base::FileUtilProxy::StatusCallback());
}
}
diff --git a/chrome/browser/extensions/sandboxed_extension_unpacker.cc b/chrome/browser/extensions/sandboxed_extension_unpacker.cc
index eb0e29d..3570837 100644
--- a/chrome/browser/extensions/sandboxed_extension_unpacker.cc
+++ b/chrome/browser/extensions/sandboxed_extension_unpacker.cc
@@ -225,9 +225,7 @@ void SandboxedExtensionUnpacker::Start() {
SandboxedExtensionUnpacker::~SandboxedExtensionUnpacker() {
base::FileUtilProxy::Delete(
BrowserThread::GetMessageLoopProxyForThread(thread_identifier_),
- temp_dir_.Take(),
- true,
- NULL);
+ temp_dir_.Take(), true, base::FileUtilProxy::StatusCallback());
}
bool SandboxedExtensionUnpacker::OnMessageReceived(
diff --git a/chrome/browser/printing/print_dialog_gtk.cc b/chrome/browser/printing/print_dialog_gtk.cc
index 7a64a93..a5d053e 100644
--- a/chrome/browser/printing/print_dialog_gtk.cc
+++ b/chrome/browser/printing/print_dialog_gtk.cc
@@ -391,9 +391,7 @@ void PrintDialogGtk::OnJobCompleted(GtkPrintJob* print_job, GError* error) {
g_object_unref(print_job);
base::FileUtilProxy::Delete(
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE),
- path_to_pdf_,
- false,
- NULL);
+ path_to_pdf_, false, base::FileUtilProxy::StatusCallback());
// Printing finished. Matches AddRef() in PrintDocument();
Release();
}