Chromium Code Reviews| Index: content/browser/indexed_db/indexed_db_factory_unittest.cc |
| diff --git a/content/browser/indexed_db/indexed_db_factory_unittest.cc b/content/browser/indexed_db/indexed_db_factory_unittest.cc |
| index 86c93958db8d38287a7576437b9ad6823b844c36..a4084115d2b4d415350a446a00a720622a2bd2e8 100644 |
| --- a/content/browser/indexed_db/indexed_db_factory_unittest.cc |
| +++ b/content/browser/indexed_db/indexed_db_factory_unittest.cc |
| @@ -2,8 +2,6 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#include "content/browser/indexed_db/indexed_db_factory.h" |
| - |
| #include "base/file_util.h" |
| #include "base/files/scoped_temp_dir.h" |
| #include "base/logging.h" |
| @@ -12,6 +10,7 @@ |
| #include "base/test/test_simple_task_runner.h" |
| #include "content/browser/indexed_db/indexed_db_connection.h" |
| #include "content/browser/indexed_db/indexed_db_context_impl.h" |
| +#include "content/browser/indexed_db/indexed_db_factory_impl.h" |
|
jsbell
2014/07/17 18:45:46
Huh... I thought we put "self" includes by unittes
cmumford
2014/07/17 20:11:52
I did that because it produced a presubmit warning
|
| #include "content/browser/indexed_db/mock_indexed_db_callbacks.h" |
| #include "content/browser/indexed_db/mock_indexed_db_database_callbacks.h" |
| #include "testing/gtest/include/gtest/gtest.h" |
| @@ -26,10 +25,10 @@ namespace content { |
| namespace { |
| -class MockIDBFactory : public IndexedDBFactory { |
| +class MockIDBFactory : public IndexedDBFactoryImpl { |
| public: |
| explicit MockIDBFactory(IndexedDBContextImpl* context) |
| - : IndexedDBFactory(context) {} |
| + : IndexedDBFactoryImpl(context) {} |
| scoped_refptr<IndexedDBBackingStore> TestOpenBackingStore( |
| const GURL& origin, |
| const base::FilePath& data_directory) { |
| @@ -199,10 +198,10 @@ TEST_F(IndexedDBFactoryTest, RejectLongOrigins) { |
| EXPECT_TRUE(diskStore2); |
| } |
| -class DiskFullFactory : public IndexedDBFactory { |
| +class DiskFullFactory : public IndexedDBFactoryImpl { |
| public: |
| explicit DiskFullFactory(IndexedDBContextImpl* context) |
| - : IndexedDBFactory(context) {} |
| + : IndexedDBFactoryImpl(context) {} |
| private: |
| virtual ~DiskFullFactory() {} |