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

Unified Diff: webkit/common/data_element.h

Issue 23223003: Chromium Blob hacking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/child/weburlloader_impl.cc ('k') | webkit/common/resource_request_body.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/data_element.h
diff --git a/webkit/common/data_element.h b/webkit/common/data_element.h
index 173d13816cf62d42e75eb4d425656af3f5889355..f93960ba1bdf3a7394f7066d377f12dea3c3688c 100644
--- a/webkit/common/data_element.h
+++ b/webkit/common/data_element.h
@@ -48,13 +48,6 @@ class WEBKIT_COMMON_EXPORT DataElement {
return expected_modification_time_;
}
- // TODO(michaeln): fixup callers to use filesytem_url() and blob_uuid().
- const GURL& url() const {
- if (type_ == TYPE_FILE_FILESYSTEM)
- return filesystem_url_;
- return blob_url_;
- }
-
// Sets TYPE_BYTES data. This copies the given data into the element.
void SetToBytes(const char* bytes, int bytes_len) {
type_ = TYPE_BYTES;
« no previous file with comments | « webkit/child/weburlloader_impl.cc ('k') | webkit/common/resource_request_body.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698