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

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

Issue 250143002: Media Galleries API: Audio/Video attached pictures support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Create Blobs on browser-process, eliminating two IPC copies. Created 6 years, 8 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 158eb6c554962d414f0d5620c341d0c08ab5ac9c..fa78e542b3f1c8cfa8591a0bba7ed2570faf9813 100644
--- a/content/browser/fileapi/fileapi_message_filter.h
+++ b/content/browser/fileapi/fileapi_message_filter.h
@@ -44,15 +44,12 @@ class URLRequestContext;
class URLRequestContextGetter;
} // namespace net
-namespace content {
-class BlobStorageHost;
-}
-
namespace webkit_blob {
class ShareableFileReference;
}
namespace content {
+class BlobStorageHost;
class ChildProcessSecurityPolicyImpl;
class ChromeBlobStorageContext;
@@ -83,6 +80,9 @@ class CONTENT_EXPORT FileAPIMessageFilter : public BrowserMessageFilter {
virtual bool OnMessageReceived(const IPC::Message& message,
bool* message_was_ok) OVERRIDE;
+ // Used to coin Blobs in the browser process with correct lifetime semantics.
+ BlobStorageHost* GetBlobStorageHost() const;
tommycli 2014/04/29 23:29:26 Plumbing to get the blob storage host.
+
protected:
virtual ~FileAPIMessageFilter();

Powered by Google App Engine
This is Rietveld 408576698