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

Side by Side Diff: components/offline_pages/BUILD.gn

Issue 2415473003: Query API: Introduces an OfflinePageModelQuery object. (Closed)
Patch Set: Stop making a new client policy controller, have a dangling pointer. Created 4 years, 2 months 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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 } 7 }
8 8
9 static_library("offline_pages") { 9 static_library("offline_pages") {
10 sources = [ 10 sources = [
(...skipping 12 matching lines...) Expand all
23 "offline_page_metadata_store.cc", 23 "offline_page_metadata_store.cc",
24 "offline_page_metadata_store.h", 24 "offline_page_metadata_store.h",
25 "offline_page_metadata_store_sql.cc", 25 "offline_page_metadata_store_sql.cc",
26 "offline_page_metadata_store_sql.h", 26 "offline_page_metadata_store_sql.h",
27 "offline_page_model.cc", 27 "offline_page_model.cc",
28 "offline_page_model.h", 28 "offline_page_model.h",
29 "offline_page_model_event_logger.cc", 29 "offline_page_model_event_logger.cc",
30 "offline_page_model_event_logger.h", 30 "offline_page_model_event_logger.h",
31 "offline_page_model_impl.cc", 31 "offline_page_model_impl.cc",
32 "offline_page_model_impl.h", 32 "offline_page_model_impl.h",
33 "offline_page_model_query.cc",
34 "offline_page_model_query.h",
33 "offline_page_storage_manager.cc", 35 "offline_page_storage_manager.cc",
34 "offline_page_storage_manager.h", 36 "offline_page_storage_manager.h",
35 "offline_page_types.h", 37 "offline_page_types.h",
36 "offline_store_types.h", 38 "offline_store_types.h",
37 "snapshot_controller.cc", 39 "snapshot_controller.cc",
38 "snapshot_controller.h", 40 "snapshot_controller.h",
39 ] 41 ]
40 42
41 deps = [ 43 deps = [
42 ":switches", 44 ":switches",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 } 84 }
83 85
84 source_set("unit_tests") { 86 source_set("unit_tests") {
85 testonly = true 87 testonly = true
86 sources = [ 88 sources = [
87 "archive_manager_unittest.cc", 89 "archive_manager_unittest.cc",
88 "client_policy_controller_unittest.cc", 90 "client_policy_controller_unittest.cc",
89 "offline_page_metadata_store_impl_unittest.cc", 91 "offline_page_metadata_store_impl_unittest.cc",
90 "offline_page_model_event_logger_unittest.cc", 92 "offline_page_model_event_logger_unittest.cc",
91 "offline_page_model_impl_unittest.cc", 93 "offline_page_model_impl_unittest.cc",
94 "offline_page_model_query_unittest.cc",
92 "offline_page_storage_manager_unittest.cc", 95 "offline_page_storage_manager_unittest.cc",
93 "snapshot_controller_unittest.cc", 96 "snapshot_controller_unittest.cc",
94 ] 97 ]
95 98
96 deps = [ 99 deps = [
97 ":offline_pages", 100 ":offline_pages",
98 ":switches", 101 ":switches",
99 ":test_support", 102 ":test_support",
100 "//base", 103 "//base",
101 "//base/test:test_support", 104 "//base/test:test_support",
102 "//sql:sql", 105 "//sql:sql",
103 "//testing/gtest", 106 "//testing/gtest",
104 "//url", 107 "//url",
105 ] 108 ]
106 } 109 }
107 110
108 if (is_android) { 111 if (is_android) {
109 java_cpp_enum("offline_page_model_enums_java") { 112 java_cpp_enum("offline_page_model_enums_java") {
110 sources = [ 113 sources = [
111 "background/request_notifier.h", 114 "background/request_notifier.h",
112 "background/request_queue.h", 115 "background/request_queue.h",
113 "background/save_page_request.h", 116 "background/save_page_request.h",
114 "offline_page_types.h", 117 "offline_page_types.h",
115 "offline_store_types.h", 118 "offline_store_types.h",
116 ] 119 ]
117 } 120 }
118 } 121 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698