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

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 4 years, 9 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
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 25eb8f69d104af8979702e20803fd4278d3bd582..7f0a20f340fe5627342b86e4afe30e62e13cf52c 100644
--- a/content/browser/fileapi/fileapi_message_filter.h
+++ b/content/browser/fileapi/fileapi_message_filter.h
@@ -46,10 +46,6 @@ class URLRequestContext;
class URLRequestContextGetter;
} // namespace net
-namespace content {
-class BlobStorageHost;
-}
-
namespace storage {
class ShareableFileReference;
class DataElement;
@@ -128,21 +124,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,
- uint32_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
@@ -229,10 +210,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