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

Unified Diff: webkit/fileapi/webfilewriter_base.h

Issue 11410019: ********** Chromium Blob hacking (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 | « webkit/fileapi/syncable/syncable_file_system_operation.cc ('k') | webkit/fileapi/webfilewriter_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/webfilewriter_base.h
===================================================================
--- webkit/fileapi/webfilewriter_base.h (revision 183651)
+++ webkit/fileapi/webfilewriter_base.h (working copy)
@@ -5,6 +5,8 @@
#ifndef WEBKIT_FILEAPI_WEBFILEWRITER_BASE_H_
#define WEBKIT_FILEAPI_WEBFILEWRITER_BASE_H_
+#include <string>
+
#include "base/platform_file.h"
#include "googleurl/src/gurl.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFileWriter.h"
@@ -26,7 +28,7 @@
// WebFileWriter implementation
virtual void truncate(long long length);
- virtual void write(long long position, const WebKit::WebURL& blobURL);
+ virtual void write(long long position, const WebKit::WebString& blobUUID);
virtual void cancel();
protected:
@@ -34,7 +36,7 @@
// the requested operation, and they must call the appropiate DidSomething
// method upon completion and as progress is made in the Write case.
virtual void DoTruncate(const GURL& path, int64 offset) = 0;
- virtual void DoWrite(const GURL& path, const GURL& blob_url,
+ virtual void DoWrite(const GURL& path, const std::string& blob_uuid,
int64 offset) = 0;
virtual void DoCancel() = 0;
« no previous file with comments | « webkit/fileapi/syncable/syncable_file_system_operation.cc ('k') | webkit/fileapi/webfilewriter_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698