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/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 "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" |
16 #include "third_party/WebKit/public/platform/WebData.h" | 16 #include "third_party/WebKit/public/platform/WebData.h" |
17 | 17 |
18 using WebKit::WebSecurityOrigin; | 18 using WebKit::WebSecurityOrigin; |
19 using WebKit::WebIDBKey; | 19 using WebKit::WebIDBKey; |
20 | 20 |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 WebSecurityOrigin ok_origin = | 423 WebSecurityOrigin ok_origin = |
424 WebSecurityOrigin::createFromString("http://someorigin.com:82/"); | 424 WebSecurityOrigin::createFromString("http://someorigin.com:82/"); |
425 scoped_refptr<IndexedDBBackingStore> diskStore2 = | 425 scoped_refptr<IndexedDBBackingStore> diskStore2 = |
426 factory->TestOpenBackingStore(ok_origin, base_path); | 426 factory->TestOpenBackingStore(ok_origin, base_path); |
427 EXPECT_TRUE(diskStore2); | 427 EXPECT_TRUE(diskStore2); |
428 } | 428 } |
429 | 429 |
430 } // namespace | 430 } // namespace |
431 | 431 |
432 } // namespace content | 432 } // namespace content |
OLD | NEW |