| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/indexed_db/indexed_db_backing_store.h" | 5 #include "content/browser/indexed_db/indexed_db_backing_store.h" |
| 6 | 6 |
| 7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 8 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 12 #include "content/browser/indexed_db/indexed_db_factory.h" | 12 #include "content/browser/indexed_db/indexed_db_factory.h" |
| 13 #include "content/browser/indexed_db/indexed_db_leveldb_coding.h" | 13 #include "content/browser/indexed_db/indexed_db_leveldb_coding.h" |
| 14 #include "googleurl/src/gurl.h" | |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 15 #include "url/gurl.h" |
| 16 #include "webkit/common/database/database_identifier.h" | 16 #include "webkit/common/database/database_identifier.h" |
| 17 | 17 |
| 18 using WebKit::WebIDBKey; | 18 using WebKit::WebIDBKey; |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 | 21 |
| 22 namespace { | 22 namespace { |
| 23 | 23 |
| 24 class IndexedDBBackingStoreTest : public testing::Test { | 24 class IndexedDBBackingStoreTest : public testing::Test { |
| 25 public: | 25 public: |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 | 421 |
| 422 GURL ok_origin("http://someorigin.com:82/"); | 422 GURL ok_origin("http://someorigin.com:82/"); |
| 423 scoped_refptr<IndexedDBBackingStore> diskStore2 = | 423 scoped_refptr<IndexedDBBackingStore> diskStore2 = |
| 424 factory->TestOpenBackingStore(ok_origin, base_path); | 424 factory->TestOpenBackingStore(ok_origin, base_path); |
| 425 EXPECT_TRUE(diskStore2); | 425 EXPECT_TRUE(diskStore2); |
| 426 } | 426 } |
| 427 | 427 |
| 428 } // namespace | 428 } // namespace |
| 429 | 429 |
| 430 } // namespace content | 430 } // namespace content |
| OLD | NEW |