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

Unified Diff: webkit/base/data_element.cc

Issue 10828252: Support FileSystem URL in File object (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment fix Created 8 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 | « webkit/base/data_element.h ('k') | webkit/blob/blob_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/base/data_element.cc
diff --git a/webkit/base/data_element.cc b/webkit/base/data_element.cc
index 2e8fcf354599d530241fe2e122a4ff4f6945c498..a514ac556da6d8e2dce2d63d33dec9e816ae4933 100644
--- a/webkit/base/data_element.cc
+++ b/webkit/base/data_element.cc
@@ -35,4 +35,15 @@ void DataElement::SetToBlobUrlRange(
length_ = length;
}
+void DataElement::SetToFileSystemUrlRange(
+ const GURL& filesystem_url,
+ uint64 offset, uint64 length,
+ const base::Time& expected_modification_time) {
+ type_ = TYPE_FILE_FILESYSTEM;
+ url_ = filesystem_url;
+ offset_ = offset;
+ length_ = length;
+ expected_modification_time_ = expected_modification_time;
+}
+
} // webkit_base
« no previous file with comments | « webkit/base/data_element.h ('k') | webkit/blob/blob_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698