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

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

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years 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
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 if (is_android) {
6 import("//build/config/android/rules.gni")
7 }
8
9 static_library("background_offliner") {
10 sources = [
11 "add_request_task.cc",
12 "add_request_task.h",
13 "change_requests_state_task.cc",
14 "change_requests_state_task.h",
15 "cleanup_task.cc",
16 "cleanup_task.h",
17 "cleanup_task_factory.cc",
18 "cleanup_task_factory.h",
19 "connection_notifier.cc",
20 "connection_notifier.h",
21 "device_conditions.h",
22 "get_requests_task.cc",
23 "get_requests_task.h",
24 "initialize_store_task.cc",
25 "initialize_store_task.h",
26 "mark_attempt_aborted_task.cc",
27 "mark_attempt_aborted_task.h",
28 "mark_attempt_completed_task.cc",
29 "mark_attempt_completed_task.h",
30 "mark_attempt_started_task.cc",
31 "mark_attempt_started_task.h",
32 "offliner.h",
33 "offliner_factory.h",
34 "offliner_policy.h",
35 "offliner_policy_utils.cc",
36 "offliner_policy_utils.h",
37 "pick_request_task.cc",
38 "pick_request_task.h",
39 "remove_requests_task.cc",
40 "remove_requests_task.h",
41 "request_coordinator.cc",
42 "request_coordinator.h",
43 "request_coordinator_event_logger.cc",
44 "request_coordinator_event_logger.h",
45 "request_notifier.h",
46 "request_queue.cc",
47 "request_queue.h",
48 "request_queue_results.h",
49 "request_queue_store.h",
50 "request_queue_store_sql.cc",
51 "request_queue_store_sql.h",
52 "save_page_request.cc",
53 "save_page_request.h",
54 "scheduler.h",
55 "update_request_task.cc",
56 "update_request_task.h",
57 ]
58
59 deps = [
60 "//base",
61 "//components/keyed_service/core",
62 "//components/offline_pages:offline_pages",
63 "//components/offline_pages:switches",
64 "//components/offline_pages/core",
65 "//net",
66 "//sql:sql",
67 "//url",
68 ]
69 }
70
71 static_library("test_support") {
72 testonly = true
73 sources = [
74 "network_quality_provider_stub.cc",
75 "network_quality_provider_stub.h",
76 "offliner_factory_stub.cc",
77 "offliner_factory_stub.h",
78 "offliner_stub.cc",
79 "offliner_stub.h",
80 "request_queue_in_memory_store.cc",
81 "request_queue_in_memory_store.h",
82 "scheduler_stub.cc",
83 "scheduler_stub.h",
84 ]
85
86 deps = [
87 ":background_offliner",
88 "//base",
89 "//net",
90 ]
91 }
92
93 source_set("unit_tests") {
94 testonly = true
95 sources = [
96 "add_request_task_unittest.cc",
97 "change_requests_state_task_unittest.cc",
98 "cleanup_task_unittest.cc",
99 "get_requests_task_unittest.cc",
100 "initialize_store_task_unittest.cc",
101 "mark_attempt_aborted_task_unittest.cc",
102 "mark_attempt_completed_task_unittest.cc",
103 "mark_attempt_started_task_unittest.cc",
104 "pick_request_task_unittest.cc",
105 "remove_requests_task_unittest.cc",
106 "request_coordinator_event_logger_unittest.cc",
107 "request_coordinator_unittest.cc",
108 "request_queue_store_unittest.cc",
109 "request_queue_unittest.cc",
110 "save_page_request_unittest.cc",
111 ]
112
113 deps = [
114 ":background_offliner",
115 ":test_support",
116 "//base",
117 "//base/test:test_support",
118 "//components/offline_pages:offline_pages",
119 "//components/offline_pages:switches",
120 "//testing/gtest",
121 "//url",
122 ]
123 }
OLDNEW
« no previous file with comments | « components/offline_pages/archive_manager_unittest.cc ('k') | components/offline_pages/background/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698