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

Unified Diff: webkit/browser/blob/blob_storage_host.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/browser/blob/blob_storage_controller_unittest.cc ('k') | webkit/browser/blob/blob_storage_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/blob/blob_storage_host.h
diff --git a/webkit/browser/blob/blob_storage_host.h b/webkit/browser/blob/blob_storage_host.h
index 954c32ce400d21c127fbe95580519836b2ebc0f1..890db3a74482fe722f3fb0baea6afd0bc831544e 100644
--- a/webkit/browser/blob/blob_storage_host.h
+++ b/webkit/browser/blob/blob_storage_host.h
@@ -47,6 +47,13 @@ class WEBKIT_STORAGE_BROWSER_EXPORT BlobStorageHost {
const std::string& uuid) WARN_UNUSED_RESULT;
bool RevokePublicBlobURL(const GURL& blob_url) WARN_UNUSED_RESULT;
+ // Temporary support for mapping old style private blob urls to uuids.
+ void DeprecatedRegisterBlobURL(const GURL& private_url,
+ const std::string& uuid);
+ void DeprecatedCloneBlobURL(const GURL& url,
+ const GURL& src_private_url);
+ void DeprecatedRevokeBlobURL(const GURL& url);
+
private:
typedef std::map<std::string, int> BlobReferenceMap;
@@ -61,7 +68,12 @@ class WEBKIT_STORAGE_BROWSER_EXPORT BlobStorageHost {
// The set of public blob urls coined by this consumer.
std::set<GURL> public_blob_urls_;
+ // And private deprecated blob urls.
+ std::set<GURL> private_blob_urls_;
+
base::WeakPtr<BlobStorageContext> context_;
+
+ DISALLOW_COPY_AND_ASSIGN(BlobStorageHost);
};
} // namespace webkit_blob
« no previous file with comments | « webkit/browser/blob/blob_storage_controller_unittest.cc ('k') | webkit/browser/blob/blob_storage_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698