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

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

Issue 1920603002: SnapshotController implementation. It will be used in WebContentsObservers for Offline Pages - to d… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: renaming constant Created 4 years, 8 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/snapshot_controller.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 "offline_page_archiver.h", 12 "offline_page_archiver.h",
13 "offline_page_item.cc", 13 "offline_page_item.cc",
14 "offline_page_item.h", 14 "offline_page_item.h",
15 "offline_page_metadata_store.cc", 15 "offline_page_metadata_store.cc",
16 "offline_page_metadata_store.h", 16 "offline_page_metadata_store.h",
17 "offline_page_metadata_store_impl.cc", 17 "offline_page_metadata_store_impl.cc",
18 "offline_page_metadata_store_impl.h", 18 "offline_page_metadata_store_impl.h",
19 "offline_page_model.cc", 19 "offline_page_model.cc",
20 "offline_page_model.h", 20 "offline_page_model.h",
21 "snapshot_controller.cc",
22 "snapshot_controller.h",
21 ] 23 ]
22 24
23 deps = [ 25 deps = [
24 ":switches", 26 ":switches",
25 "//base", 27 "//base",
26 "//components/bookmarks/browser", 28 "//components/bookmarks/browser",
27 "//components/keyed_service/core", 29 "//components/keyed_service/core",
28 "//components/leveldb_proto", 30 "//components/leveldb_proto",
29 "//components/offline_pages/proto:offline_pages_proto", 31 "//components/offline_pages/proto:offline_pages_proto",
30 "//net", 32 "//net",
(...skipping 30 matching lines...) Expand all
61 "//base", 63 "//base",
62 "//components/version_info", 64 "//components/version_info",
63 ] 65 ]
64 } 66 }
65 67
66 source_set("unit_tests") { 68 source_set("unit_tests") {
67 testonly = true 69 testonly = true
68 sources = [ 70 sources = [
69 "offline_page_metadata_store_impl_unittest.cc", 71 "offline_page_metadata_store_impl_unittest.cc",
70 "offline_page_model_unittest.cc", 72 "offline_page_model_unittest.cc",
73 "snapshot_controller_unittest.cc",
71 ] 74 ]
72 75
73 deps = [ 76 deps = [
74 ":offline_pages", 77 ":offline_pages",
75 ":switches", 78 ":switches",
76 ":test_support", 79 ":test_support",
77 "//base", 80 "//base",
78 "//base/test:test_support", 81 "//base/test:test_support",
79 "//components/leveldb_proto", 82 "//components/leveldb_proto",
80 "//components/offline_pages/proto:offline_pages_proto", 83 "//components/offline_pages/proto:offline_pages_proto",
81 "//testing/gtest", 84 "//testing/gtest",
82 "//url", 85 "//url",
83 ] 86 ]
84 } 87 }
85 88
86 if (is_android) { 89 if (is_android) {
87 java_cpp_enum("offline_page_model_enums_java") { 90 java_cpp_enum("offline_page_model_enums_java") {
88 sources = [ 91 sources = [
89 "offline_page_model.h", 92 "offline_page_model.h",
90 ] 93 ]
91 } 94 }
92 } 95 }
OLDNEW
« no previous file with comments | « components/offline_pages.gypi ('k') | components/offline_pages/snapshot_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698