OLD | NEW |
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 "add_unique_urls_task.cc", |
| 13 "add_unique_urls_task.h", |
12 "generate_page_bundle_request.cc", | 14 "generate_page_bundle_request.cc", |
13 "generate_page_bundle_request.h", | 15 "generate_page_bundle_request.h", |
14 "get_operation_request.cc", | 16 "get_operation_request.cc", |
15 "get_operation_request.h", | 17 "get_operation_request.h", |
16 "prefetch_dispatcher.h", | 18 "prefetch_dispatcher.h", |
17 "prefetch_dispatcher_impl.cc", | 19 "prefetch_dispatcher_impl.cc", |
18 "prefetch_dispatcher_impl.h", | 20 "prefetch_dispatcher_impl.h", |
19 "prefetch_item.cc", | 21 "prefetch_item.cc", |
20 "prefetch_item.h", | 22 "prefetch_item.h", |
21 "prefetch_proto_utils.cc", | 23 "prefetch_proto_utils.cc", |
22 "prefetch_proto_utils.h", | 24 "prefetch_proto_utils.h", |
23 "prefetch_request_fetcher.cc", | 25 "prefetch_request_fetcher.cc", |
24 "prefetch_request_fetcher.h", | 26 "prefetch_request_fetcher.h", |
25 "prefetch_service.h", | 27 "prefetch_service.h", |
26 "prefetch_service_impl.cc", | 28 "prefetch_service_impl.cc", |
27 "prefetch_service_impl.h", | 29 "prefetch_service_impl.h", |
| 30 "prefetch_store.h", |
| 31 "prefetch_test_store.cc", |
| 32 "prefetch_test_store.h", |
28 "prefetch_types.cc", | 33 "prefetch_types.cc", |
29 "prefetch_types.h", | 34 "prefetch_types.h", |
30 ] | 35 ] |
31 | 36 |
32 public_deps = [ | 37 public_deps = [ |
33 ":proto", | 38 ":proto", |
34 ] | 39 ] |
35 deps = [ | 40 deps = [ |
36 "//base", | 41 "//base", |
37 "//components/keyed_service/core", | 42 "//components/keyed_service/core", |
(...skipping 28 matching lines...) Expand all Loading... |
66 | 71 |
67 deps = [ | 72 deps = [ |
68 ":prefetch", | 73 ":prefetch", |
69 "//components/offline_pages/core", | 74 "//components/offline_pages/core", |
70 "//net:test_support", | 75 "//net:test_support", |
71 "//testing/gmock", | 76 "//testing/gmock", |
72 "//testing/gtest", | 77 "//testing/gtest", |
73 "//url", | 78 "//url", |
74 ] | 79 ] |
75 } | 80 } |
OLD | NEW |