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

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

Issue 2011763005: Splits the OfflinePageModel into and interface and and implementation class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix to take ExpirePages defn out of model i/f as StorageManager defines it currently Created 4 years, 6 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
« no previous file with comments | « components/offline_pages.gypi ('k') | components/offline_pages/offline_page_model.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # GYP: //components/offline_pages.gypi:offline_pages 9 # GYP: //components/offline_pages.gypi:offline_pages
10 static_library("offline_pages") { 10 static_library("offline_pages") {
11 sources = [ 11 sources = [
12 "archive_manager.cc", 12 "archive_manager.cc",
13 "archive_manager.h", 13 "archive_manager.h",
14 "client_policy_controller.cc", 14 "client_policy_controller.cc",
15 "client_policy_controller.h", 15 "client_policy_controller.h",
16 "offline_page_archiver.h", 16 "offline_page_archiver.h",
17 "offline_page_client_policy.h", 17 "offline_page_client_policy.h",
18 "offline_page_item.cc", 18 "offline_page_item.cc",
19 "offline_page_item.h", 19 "offline_page_item.h",
20 "offline_page_metadata_store.cc", 20 "offline_page_metadata_store.cc",
21 "offline_page_metadata_store.h", 21 "offline_page_metadata_store.h",
22 "offline_page_metadata_store_sql.cc", 22 "offline_page_metadata_store_sql.cc",
23 "offline_page_metadata_store_sql.h", 23 "offline_page_metadata_store_sql.h",
24 "offline_page_model.cc", 24 "offline_page_model.cc",
25 "offline_page_model.h", 25 "offline_page_model.h",
26 "offline_page_model_impl.cc",
27 "offline_page_model_impl.h",
26 "offline_page_storage_manager.cc", 28 "offline_page_storage_manager.cc",
27 "offline_page_storage_manager.h", 29 "offline_page_storage_manager.h",
28 "offline_page_types.h", 30 "offline_page_types.h",
29 "snapshot_controller.cc", 31 "snapshot_controller.cc",
30 "snapshot_controller.h", 32 "snapshot_controller.h",
31 ] 33 ]
32 34
33 deps = [ 35 deps = [
34 ":switches", 36 ":switches",
35 "//base", 37 "//base",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 "//components/version_info", 72 "//components/version_info",
71 ] 73 ]
72 } 74 }
73 75
74 source_set("unit_tests") { 76 source_set("unit_tests") {
75 testonly = true 77 testonly = true
76 sources = [ 78 sources = [
77 "archive_manager_unittest.cc", 79 "archive_manager_unittest.cc",
78 "client_policy_controller_unittest.cc", 80 "client_policy_controller_unittest.cc",
79 "offline_page_metadata_store_impl_unittest.cc", 81 "offline_page_metadata_store_impl_unittest.cc",
80 "offline_page_model_unittest.cc", 82 "offline_page_model_impl_unittest.cc",
81 "offline_page_storage_manager_unittest.cc", 83 "offline_page_storage_manager_unittest.cc",
82 "snapshot_controller_unittest.cc", 84 "snapshot_controller_unittest.cc",
83 ] 85 ]
84 86
85 deps = [ 87 deps = [
86 ":offline_pages", 88 ":offline_pages",
87 ":switches", 89 ":switches",
88 ":test_support", 90 ":test_support",
89 "//base", 91 "//base",
90 "//base/test:test_support", 92 "//base/test:test_support",
91 "//testing/gtest", 93 "//testing/gtest",
92 "//url", 94 "//url",
93 ] 95 ]
94 } 96 }
95 97
96 if (is_android) { 98 if (is_android) {
97 java_cpp_enum("offline_page_model_enums_java") { 99 java_cpp_enum("offline_page_model_enums_java") {
98 sources = [ 100 sources = [
99 "offline_page_types.h", 101 "offline_page_types.h",
100 ] 102 ]
101 } 103 }
102 } 104 }
OLDNEW
« no previous file with comments | « components/offline_pages.gypi ('k') | components/offline_pages/offline_page_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698