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

Unified Diff: content/common/fileapi/file_system_dispatcher.h

Issue 11410019: ********** Chromium Blob hacking (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years 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
Index: content/common/fileapi/file_system_dispatcher.h
===================================================================
--- content/common/fileapi/file_system_dispatcher.h (revision 171309)
+++ content/common/fileapi/file_system_dispatcher.h (working copy)
@@ -71,7 +71,7 @@
int* request_id_out,
fileapi::FileSystemCallbackDispatcher* dispatcher);
bool Write(const GURL& path,
- const GURL& blob_url,
+ const std::string& blob_uuid,
int64 offset,
int* request_id_out,
fileapi::FileSystemCallbackDispatcher* dispatcher);
@@ -91,8 +91,7 @@
// raw PlatformFile returned from OpenFile.
bool NotifyCloseFile(const GURL& file_path);
- bool CreateSnapshotFile(const GURL& blod_url,
- const GURL& file_path,
+ bool CreateSnapshotFile(const GURL& file_path,
fileapi::FileSystemCallbackDispatcher* dispatcher);
private:
// Message handlers.
@@ -103,6 +102,9 @@
void OnDidReadMetadata(int request_id,
const base::PlatformFileInfo& file_info,
const FilePath& platform_path);
+ void OnDidCreateSnapshotFile(int request_id,
+ const base::PlatformFileInfo& file_info,
+ const FilePath& platform_path);
void OnDidReadDirectory(
int request_id,
const std::vector<base::FileUtilProxy::Entry>& entries,

Powered by Google App Engine
This is Rietveld 408576698