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

Unified Diff: base/file_util_proxy.h

Issue 3282003: Support handling blob URL and resolve blob references in upload data.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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') | webkit/blob/blob_url_request_job.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_proxy.h
===================================================================
--- base/file_util_proxy.h (revision 57912)
+++ base/file_util_proxy.h (working copy)
@@ -10,6 +10,10 @@
#include "base/ref_counted.h"
#include "base/tracked_objects.h"
+namespace file_util {
+struct FileInfo;
+}
+
namespace base {
class MessageLoopProxy;
@@ -55,6 +59,16 @@
const FilePath& file_path,
StatusCallback* callback);
+ // Retrieves the information about a file. It is invalid to pass NULL for the
+ // callback.
+ typedef Callback2<bool /*exists*/,
+ const file_util::FileInfo& /*file_info*/
+ >::Type GetFileInfoCallback;
+ static bool GetFileInfo(
michaeln 2010/08/31 06:02:15 Oh... it looks like kavita is adding a very simila
+ scoped_refptr<MessageLoopProxy> message_loop_proxy,
+ const FilePath& file_path,
+ GetFileInfoCallback* callback);
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(FileUtilProxy);
};
« no previous file with comments | « no previous file | base/file_util_proxy.cc » ('j') | webkit/blob/blob_url_request_job.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698