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..497df0466fff4ac7f07638e5f825cfa49c24d93c 100644 |
--- a/content/browser/fileapi/fileapi_message_filter.cc |
+++ b/content/browser/fileapi/fileapi_message_filter.cc |
@@ -17,7 +17,7 @@ |
#include "base/threading/thread.h" |
#include "base/time/time.h" |
#include "content/browser/child_process_security_policy_impl.h" |
-#include "content/browser/fileapi/blob_storage_host.h" |
+#include "content/browser/fileapi/blob_storage_host_impl.h" |
#include "content/browser/fileapi/browser_file_system_helper.h" |
#include "content/browser/fileapi/chrome_blob_storage_context.h" |
#include "content/browser/streams/stream_registry.h" |
@@ -116,7 +116,7 @@ void FileAPIMessageFilter::OnChannelConnected(int32 peer_pid) { |
} |
blob_storage_host_.reset( |
- new BlobStorageHost(blob_storage_context_->context())); |
+ new BlobStorageHostImpl(blob_storage_context_->context())); |
operation_runner_ = context_->CreateFileSystemOperationRunner(); |
} |
@@ -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() { |