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

Unified Diff: content/browser/fileapi/fileapi_message_filter.h

Issue 1234813004: [BlobAsync] Asynchronous Blob Construction Final Patch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blob-protocol-change
Patch Set: comments Created 5 years 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
Index: content/browser/fileapi/fileapi_message_filter.h
diff --git a/content/browser/fileapi/fileapi_message_filter.h b/content/browser/fileapi/fileapi_message_filter.h
index 3ad767ecabe1a627b2dc568c7ce771de63ff561a..f1209d1455827af9cec5c8f4017756df31acba0c 100644
--- a/content/browser/fileapi/fileapi_message_filter.h
+++ b/content/browser/fileapi/fileapi_message_filter.h
@@ -42,10 +42,6 @@ class URLRequestContext;
class URLRequestContextGetter;
} // namespace net
-namespace content {
-class BlobStorageHost;
-}
-
namespace storage {
class ShareableFileReference;
class DataElement;
@@ -124,21 +120,6 @@ class CONTENT_EXPORT FileAPIMessageFilter : public BrowserMessageFilter {
const GURL& path);
void OnDidReceiveSnapshotFile(int request_id);
- // Handlers for BlobHostMsg_ family messages.
-
- void OnStartBuildingBlob(const std::string& uuid);
- void OnAppendBlobDataItemToBlob(const std::string& uuid,
- const storage::DataElement& item);
- void OnAppendSharedMemoryToBlob(const std::string& uuid,
- base::SharedMemoryHandle handle,
- size_t buffer_size);
- void OnFinishBuildingBlob(const std::string& uuid,
- const std::string& content_type);
- void OnIncrementBlobRefCount(const std::string& uuid);
- void OnDecrementBlobRefCount(const std::string& uuid);
- void OnRegisterPublicBlobURL(const GURL& public_url, const std::string& uuid);
- void OnRevokePublicBlobURL(const GURL& public_url);
-
// Handlers for StreamHostMsg_ family messages.
//
// TODO(tyoshino): Consider renaming BlobData to more generic one as it's now
@@ -225,10 +206,6 @@ class CONTENT_EXPORT FileAPIMessageFilter : public BrowserMessageFilter {
scoped_ptr<storage::FileSystemOperationRunner> operation_runner_;
- // Keeps track of blobs used in this process and cleans up
- // when the renderer process dies.
- scoped_ptr<BlobStorageHost> blob_storage_host_;
-
// Keep track of stream URLs registered in this process. Need to unregister
// all of them when the renderer process dies.
base::hash_set<std::string> stream_urls_;

Powered by Google App Engine
This is Rietveld 408576698