| Index: content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc b/content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc
|
| index a14439f83354e8a79bab8c47b22af80c2ac94e11..c15b28f5be4f3cdecd08cb90003f6914c3e6d1d5 100644
|
| --- a/content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc
|
| +++ b/content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc
|
| @@ -7,17 +7,17 @@
|
| #include "base/test/test_simple_task_runner.h"
|
| #include "content/browser/indexed_db/indexed_db_active_blob_registry.h"
|
| #include "content/browser/indexed_db/indexed_db_backing_store.h"
|
| -#include "content/browser/indexed_db/indexed_db_factory_impl.h"
|
| #include "content/browser/indexed_db/indexed_db_fake_backing_store.h"
|
| +#include "content/browser/indexed_db/mock_indexed_db_factory.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace content {
|
|
|
| namespace {
|
|
|
| -class MockIDBFactory : public IndexedDBFactoryImpl {
|
| +class MockIDBFactory : public MockIndexedDBFactory {
|
| public:
|
| - MockIDBFactory() : IndexedDBFactoryImpl(NULL), duplicate_calls_(false) {}
|
| + MockIDBFactory() : duplicate_calls_(false) {}
|
|
|
| virtual void ReportOutstandingBlobs(const GURL& origin_url,
|
| bool blobs_outstanding) OVERRIDE {
|
| @@ -39,14 +39,14 @@ class MockIDBFactory : public IndexedDBFactoryImpl {
|
| bool CheckNoOriginsInUse() const {
|
| return !duplicate_calls_ && !origins_.size();
|
| }
|
| +
|
| bool CheckSingleOriginInUse(const GURL& origin) const {
|
| return !duplicate_calls_ && origins_.size() == 1 && origins_.count(origin);
|
| }
|
|
|
| - protected:
|
| + private:
|
| virtual ~MockIDBFactory() {}
|
|
|
| - private:
|
| std::set<GURL> origins_;
|
| bool duplicate_calls_;
|
|
|
|
|