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

Unified Diff: base/file_util_proxy.h

Issue 8311012: base::Bind: Convert FileUtilProxy::EnsureFileExistsCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pipelining. Created 9 years, 2 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 | « no previous file | base/file_util_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_proxy.h
diff --git a/base/file_util_proxy.h b/base/file_util_proxy.h
index 196043a15c641082d4a1f8d55aacc1e94352a953..fb3c5ce9ed46300323703cdf171f35f33dfa71ef 100644
--- a/base/file_util_proxy.h
+++ b/base/file_util_proxy.h
@@ -45,8 +45,8 @@ class BASE_EXPORT FileUtilProxy {
typedef base::Callback<void(PlatformFileError /* error code */,
PassPlatformFile,
FilePath)> CreateTemporaryCallback;
- typedef Callback2<PlatformFileError /* error code */,
- bool /* created */>::Type EnsureFileExistsCallback;
+ typedef base::Callback<void(PlatformFileError /* error code */,
+ bool /* created */)> EnsureFileExistsCallback;
typedef Callback2<PlatformFileError /* error code */,
const PlatformFileInfo& /* file_info */
>::Type GetFileInfoCallback;
@@ -99,7 +99,7 @@ class BASE_EXPORT FileUtilProxy {
static bool EnsureFileExists(
scoped_refptr<MessageLoopProxy> message_loop_proxy,
const FilePath& file_path,
- EnsureFileExistsCallback* callback);
+ const EnsureFileExistsCallback& callback);
// Retrieves the information about a file. It is invalid to pass NULL for the
// callback.
« no previous file with comments | « no previous file | base/file_util_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698