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

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

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.cc
diff --git a/content/browser/fileapi/fileapi_message_filter.cc b/content/browser/fileapi/fileapi_message_filter.cc
index b900124c5e39e507fd5805610d8b472e8aa9474f..c0cd2def1490e803e5ba934292065d4e267e1593 100644
--- a/content/browser/fileapi/fileapi_message_filter.cc
+++ b/content/browser/fileapi/fileapi_message_filter.cc
@@ -197,6 +197,12 @@ bool FileAPIMessageFilter::OnMessageReceived(
return handled;
}
+BlobStorageHost* FileAPIMessageFilter::GetBlobStorageHost() const {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
+ DCHECK(blob_storage_host_.get());
+ return blob_storage_host_.get();
+}
+
FileAPIMessageFilter::~FileAPIMessageFilter() {}
void FileAPIMessageFilter::BadMessageReceived() {

Powered by Google App Engine
This is Rietveld 408576698