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

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

Issue 2860573004: [Offline Pages] Add cached offline page utils and show usage in settings. (Closed)
Patch Set: Created 3 years, 7 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("core") { 9 static_library("core") {
10 sources = [ 10 sources = [
11 "archive_manager.cc", 11 "archive_manager.cc",
12 "archive_manager.h", 12 "archive_manager.h",
13 "cached_offline_page_utils.cc",
14 "cached_offline_page_utils.h",
13 "client_namespace_constants.cc", 15 "client_namespace_constants.cc",
14 "client_namespace_constants.h", 16 "client_namespace_constants.h",
15 "client_policy_controller.cc", 17 "client_policy_controller.cc",
16 "client_policy_controller.h", 18 "client_policy_controller.h",
17 "offline_event_logger.cc", 19 "offline_event_logger.cc",
18 "offline_event_logger.h", 20 "offline_event_logger.h",
19 "offline_page_archiver.h", 21 "offline_page_archiver.h",
20 "offline_page_client_policy.h", 22 "offline_page_client_policy.h",
21 "offline_page_item.cc", 23 "offline_page_item.cc",
22 "offline_page_item.h", 24 "offline_page_item.h",
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 deps = [ 87 deps = [
86 "//base", 88 "//base",
87 "//components/version_info", 89 "//components/version_info",
88 ] 90 ]
89 } 91 }
90 92
91 source_set("unit_tests") { 93 source_set("unit_tests") {
92 testonly = true 94 testonly = true
93 sources = [ 95 sources = [
94 "archive_manager_unittest.cc", 96 "archive_manager_unittest.cc",
97 "cached_offline_page_utils_unittest.cc",
95 "client_policy_controller_unittest.cc", 98 "client_policy_controller_unittest.cc",
96 "offline_event_logger_unittest.cc", 99 "offline_event_logger_unittest.cc",
97 "offline_page_metadata_store_unittest.cc", 100 "offline_page_metadata_store_unittest.cc",
98 "offline_page_model_event_logger_unittest.cc", 101 "offline_page_model_event_logger_unittest.cc",
99 "offline_page_model_impl_unittest.cc", 102 "offline_page_model_impl_unittest.cc",
100 "offline_page_model_query_unittest.cc", 103 "offline_page_model_query_unittest.cc",
101 "offline_page_storage_manager_unittest.cc", 104 "offline_page_storage_manager_unittest.cc",
102 "snapshot_controller_unittest.cc", 105 "snapshot_controller_unittest.cc",
103 "task_queue_unittest.cc", 106 "task_queue_unittest.cc",
104 "task_unittest.cc", 107 "task_unittest.cc",
(...skipping 18 matching lines...) Expand all
123 sources = [ 126 sources = [
124 "background/request_notifier.h", 127 "background/request_notifier.h",
125 "background/request_queue_results.h", 128 "background/request_queue_results.h",
126 "background/save_page_request.h", 129 "background/save_page_request.h",
127 "downloads/download_ui_item.h", 130 "downloads/download_ui_item.h",
128 "offline_page_types.h", 131 "offline_page_types.h",
129 "offline_store_types.h", 132 "offline_store_types.h",
130 ] 133 ]
131 } 134 }
132 } 135 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698