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

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

Issue 250143002: Media Galleries API: Audio/Video attached pictures support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make blob_storage_host a content/public interface with a content-private impl 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/blob_storage_context_unittest.cc
diff --git a/content/browser/fileapi/blob_storage_context_unittest.cc b/content/browser/fileapi/blob_storage_context_unittest.cc
index fd588801532f10b9062662e7197ddf2a0b8a3485..d7335c1685031e8594ef8f6456cd2bf65d369f62 100644
--- a/content/browser/fileapi/blob_storage_context_unittest.cc
+++ b/content/browser/fileapi/blob_storage_context_unittest.cc
@@ -7,7 +7,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/time/time.h"
-#include "content/browser/fileapi/blob_storage_host.h"
+#include "content/browser/fileapi/blob_storage_host_impl.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "webkit/browser/blob/blob_data_handle.h"
#include "webkit/browser/blob/blob_storage_context.h"
@@ -29,7 +29,7 @@ void SetupBasicBlob(BlobStorageHost* host, const std::string& id) {
TEST(BlobStorageContextTest, IncrementDecrementRef) {
BlobStorageContext context;
- BlobStorageHost host(&context);
+ BlobStorageHostImpl host(&context);
base::MessageLoop fake_io_message_loop;
// Build up a basic blob.
@@ -59,7 +59,7 @@ TEST(BlobStorageContextTest, IncrementDecrementRef) {
TEST(BlobStorageContextTest, BlobDataHandle) {
BlobStorageContext context;
- BlobStorageHost host(&context);
+ BlobStorageHostImpl host(&context);
base::MessageLoop fake_io_message_loop;
// Build up a basic blob.
@@ -135,7 +135,7 @@ TEST(BlobStorageContextTest, CompoundBlobs) {
TEST(BlobStorageContextTest, PublicBlobUrls) {
BlobStorageContext context;
- BlobStorageHost host(&context);
+ BlobStorageHostImpl host(&context);
base::MessageLoop fake_io_message_loop;
// Build up a basic blob.
@@ -167,7 +167,7 @@ TEST(BlobStorageContextTest, PublicBlobUrls) {
TEST(BlobStorageContextTest, HostCleanup) {
BlobStorageContext context;
- scoped_ptr<BlobStorageHost> host(new BlobStorageHost(&context));
+ scoped_ptr<BlobStorageHost> host(new BlobStorageHostImpl(&context));
base::MessageLoop fake_io_message_loop;
// Build up a basic blob and register a url
@@ -186,7 +186,7 @@ TEST(BlobStorageContextTest, HostCleanup) {
TEST(BlobStorageContextTest, EarlyContextDeletion) {
scoped_ptr<BlobStorageContext> context(new BlobStorageContext);
- BlobStorageHost host(context.get());
+ BlobStorageHostImpl host(context.get());
base::MessageLoop fake_io_message_loop;
// Deleting the context should not induce crashes.

Powered by Google App Engine
This is Rietveld 408576698