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

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

Issue 2872933003: Add base persistence interfaces for Prefetching Offline Pages. (Closed)
Patch Set: Rename NO_ERROR to SUCCESS because of Windows. 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
« no previous file with comments | « no previous file | components/offline_pages/core/prefetch/prefetch_item.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 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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 import("//third_party/protobuf/proto_library.gni") 8 import("//third_party/protobuf/proto_library.gni")
9 9
10 static_library("prefetch") { 10 static_library("prefetch") {
11 sources = [ 11 sources = [
12 "generate_page_bundle_request.cc", 12 "generate_page_bundle_request.cc",
13 "generate_page_bundle_request.h", 13 "generate_page_bundle_request.h",
14 "prefetch_item.cc",
15 "prefetch_item.h",
14 "prefetch_request_fetcher.cc", 16 "prefetch_request_fetcher.cc",
15 "prefetch_request_fetcher.h", 17 "prefetch_request_fetcher.h",
16 "prefetch_service.h", 18 "prefetch_service.h",
17 "prefetch_service_impl.cc", 19 "prefetch_service_impl.cc",
18 "prefetch_service_impl.h", 20 "prefetch_service_impl.h",
19 "prefetch_types.cc", 21 "prefetch_types.cc",
20 "prefetch_types.h", 22 "prefetch_types.h",
21 "prefetch_utils.cc", 23 "prefetch_utils.cc",
22 "prefetch_utils.h", 24 "prefetch_utils.h",
23 ] 25 ]
(...skipping 17 matching lines...) Expand all
41 "proto/operation.proto", 43 "proto/operation.proto",
42 "proto/status.proto", 44 "proto/status.proto",
43 "proto/timestamp.proto", 45 "proto/timestamp.proto",
44 ] 46 ]
45 } 47 }
46 48
47 source_set("unit_tests") { 49 source_set("unit_tests") {
48 testonly = true 50 testonly = true
49 sources = [ 51 sources = [
50 "generate_page_bundle_request_unittest.cc", 52 "generate_page_bundle_request_unittest.cc",
53 "prefetch_item_unittest.cc",
51 "prefetch_request_fetcher_unittest.cc", 54 "prefetch_request_fetcher_unittest.cc",
52 "prefetch_request_test_base.cc", 55 "prefetch_request_test_base.cc",
53 "prefetch_request_test_base.h", 56 "prefetch_request_test_base.h",
54 "prefetch_service_impl_unittest.cc", 57 "prefetch_service_impl_unittest.cc",
55 ] 58 ]
56 59
57 deps = [ 60 deps = [
58 ":prefetch", 61 ":prefetch",
59 "//components/offline_pages/core", 62 "//components/offline_pages/core",
60 "//net:test_support", 63 "//net:test_support",
61 "//testing/gmock", 64 "//testing/gmock",
62 "//testing/gtest", 65 "//testing/gtest",
63 "//url", 66 "//url",
64 ] 67 ]
65 } 68 }
OLDNEW
« no previous file with comments | « no previous file | components/offline_pages/core/prefetch/prefetch_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698