summaryrefslogtreecommitdiffstats
path: root/webkit/blob/blob_storage_controller.h
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-14 00:43:14 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-14 00:43:14 +0000
commit1dfff5c058db41e3b2caa74159ee7ed458bc9d69 (patch)
tree3c4f296904a28868860729aa35ae38234874657a /webkit/blob/blob_storage_controller.h
parentc36a9b69927d60cd846e6c60a9a87a1edc650df7 (diff)
downloadchromium_src-1dfff5c058db41e3b2caa74159ee7ed458bc9d69.zip
chromium_src-1dfff5c058db41e3b2caa74159ee7ed458bc9d69.tar.gz
chromium_src-1dfff5c058db41e3b2caa74159ee7ed458bc9d69.tar.bz2
Add deletable file refs to Blobs
BUG=52486 TEST=manual Review URL: http://codereview.chromium.org/3582002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62485 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/blob/blob_storage_controller.h')
-rw-r--r--webkit/blob/blob_storage_controller.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/blob/blob_storage_controller.h b/webkit/blob/blob_storage_controller.h
index 1f0b25e..74bc131b 100644
--- a/webkit/blob/blob_storage_controller.h
+++ b/webkit/blob/blob_storage_controller.h
@@ -10,7 +10,11 @@
#include "base/ref_counted.h"
class GURL;
+class FilePath;
+namespace base {
+class Time;
+}
namespace net {
class UploadData;
}
@@ -41,6 +45,9 @@ class BlobStorageController {
BlobData* src_blob_data,
uint64 offset,
uint64 length);
+ void AppendFileItem(BlobData* target_blob_data,
+ const FilePath& file_path, uint64 offset, uint64 length,
+ const base::Time& expected_modification_time);
typedef base::hash_map<std::string, scoped_refptr<BlobData> > BlobMap;
BlobMap blob_map_;