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 "offline_metrics_collector.h", | 18 "offline_metrics_collector.h", |
17 "prefetch_dispatcher.h", | 19 "prefetch_dispatcher.h", |
18 "prefetch_dispatcher_impl.cc", | 20 "prefetch_dispatcher_impl.cc", |
19 "prefetch_dispatcher_impl.h", | 21 "prefetch_dispatcher_impl.h", |
20 "prefetch_gcm_app_handler.cc", | 22 "prefetch_gcm_app_handler.cc", |
21 "prefetch_gcm_app_handler.h", | 23 "prefetch_gcm_app_handler.h", |
22 "prefetch_gcm_handler.h", | 24 "prefetch_gcm_handler.h", |
| 25 "prefetch_in_memory_store.cc", |
| 26 "prefetch_in_memory_store.h", |
23 "prefetch_item.cc", | 27 "prefetch_item.cc", |
24 "prefetch_item.h", | 28 "prefetch_item.h", |
25 "prefetch_proto_utils.cc", | 29 "prefetch_proto_utils.cc", |
26 "prefetch_proto_utils.h", | 30 "prefetch_proto_utils.h", |
27 "prefetch_request_fetcher.cc", | 31 "prefetch_request_fetcher.cc", |
28 "prefetch_request_fetcher.h", | 32 "prefetch_request_fetcher.h", |
29 "prefetch_service.h", | 33 "prefetch_service.h", |
30 "prefetch_service_impl.cc", | 34 "prefetch_service_impl.cc", |
31 "prefetch_service_impl.h", | 35 "prefetch_service_impl.h", |
| 36 "prefetch_store.h", |
32 "prefetch_types.cc", | 37 "prefetch_types.cc", |
33 "prefetch_types.h", | 38 "prefetch_types.h", |
34 "suggested_articles_observer.cc", | 39 "suggested_articles_observer.cc", |
35 "suggested_articles_observer.h", | 40 "suggested_articles_observer.h", |
36 ] | 41 ] |
37 | 42 |
38 public_deps = [ | 43 public_deps = [ |
39 ":proto", | 44 ":proto", |
40 ] | 45 ] |
41 deps = [ | 46 deps = [ |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 deps = [ | 83 deps = [ |
79 ":prefetch", | 84 ":prefetch", |
80 "//components/offline_pages/core", | 85 "//components/offline_pages/core", |
81 "//components/offline_pages/core:test_support", | 86 "//components/offline_pages/core:test_support", |
82 "//net:test_support", | 87 "//net:test_support", |
83 "//testing/gmock", | 88 "//testing/gmock", |
84 "//testing/gtest", | 89 "//testing/gtest", |
85 "//url", | 90 "//url", |
86 ] | 91 ] |
87 } | 92 } |
OLD | NEW |