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

Side by Side Diff: components/offline_pages/core/offline_page_metadata_store_impl_unittest.cc

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/offline_pages/offline_page_metadata_store.h" 5 #include "components/offline_pages/core/offline_page_metadata_store.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
16 #include "base/test/test_simple_task_runner.h" 16 #include "base/test/test_simple_task_runner.h"
17 #include "base/threading/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "components/offline_pages/offline_page_item.h" 18 #include "components/offline_pages/core/offline_page_item.h"
19 #include "components/offline_pages/offline_page_metadata_store_sql.h" 19 #include "components/offline_pages/core/offline_page_metadata_store_sql.h"
20 #include "components/offline_pages/offline_page_model.h" 20 #include "components/offline_pages/core/offline_page_model.h"
21 #include "sql/connection.h" 21 #include "sql/connection.h"
22 #include "sql/statement.h" 22 #include "sql/statement.h"
23 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
24 24
25 namespace offline_pages { 25 namespace offline_pages {
26 26
27 namespace { 27 namespace {
28 28
29 #define OFFLINE_PAGES_TABLE_V1 "offlinepages_v1" 29 #define OFFLINE_PAGES_TABLE_V1 "offlinepages_v1"
30 30
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 std::unique_ptr<OfflinePageMetadataStore> store(BuildStore()); 976 std::unique_ptr<OfflinePageMetadataStore> store(BuildStore());
977 977
978 store->Reset(base::Bind(&OfflinePageMetadataStoreTest::ResetCallback, 978 store->Reset(base::Bind(&OfflinePageMetadataStoreTest::ResetCallback,
979 base::Unretained(this))); 979 base::Unretained(this)));
980 PumpLoop(); 980 PumpLoop();
981 EXPECT_EQ(STATUS_TRUE, last_status_); 981 EXPECT_EQ(STATUS_TRUE, last_status_);
982 } 982 }
983 983
984 } // namespace 984 } // namespace
985 } // namespace offline_pages 985 } // namespace offline_pages
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698