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

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

Issue 2543093002: Split the RequestPicker task into two separate tasks. (Closed)
Patch Set: ADD TODO 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
« no previous file with comments | « no previous file | components/offline_pages/background/cleanup_task.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 2016 The Chromium Authors. All rights reserved. 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 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 static_library("background_offliner") { 9 static_library("background_offliner") {
10 sources = [ 10 sources = [
11 "add_request_task.cc", 11 "add_request_task.cc",
12 "add_request_task.h", 12 "add_request_task.h",
13 "change_requests_state_task.cc", 13 "change_requests_state_task.cc",
14 "change_requests_state_task.h", 14 "change_requests_state_task.h",
15 "cleanup_task.cc",
16 "cleanup_task.h",
17 "cleanup_task_factory.cc",
18 "cleanup_task_factory.h",
15 "connection_notifier.cc", 19 "connection_notifier.cc",
16 "connection_notifier.h", 20 "connection_notifier.h",
17 "device_conditions.h", 21 "device_conditions.h",
18 "get_requests_task.cc", 22 "get_requests_task.cc",
19 "get_requests_task.h", 23 "get_requests_task.h",
20 "initialize_store_task.cc", 24 "initialize_store_task.cc",
21 "initialize_store_task.h", 25 "initialize_store_task.h",
22 "mark_attempt_aborted_task.cc", 26 "mark_attempt_aborted_task.cc",
23 "mark_attempt_aborted_task.h", 27 "mark_attempt_aborted_task.h",
24 "mark_attempt_completed_task.cc", 28 "mark_attempt_completed_task.cc",
25 "mark_attempt_completed_task.h", 29 "mark_attempt_completed_task.h",
26 "mark_attempt_started_task.cc", 30 "mark_attempt_started_task.cc",
27 "mark_attempt_started_task.h", 31 "mark_attempt_started_task.h",
28 "offliner.h", 32 "offliner.h",
29 "offliner_factory.h", 33 "offliner_factory.h",
30 "offliner_policy.h", 34 "offliner_policy.h",
35 "offliner_policy_utils.cc",
36 "offliner_policy_utils.h",
31 "pick_request_task.cc", 37 "pick_request_task.cc",
32 "pick_request_task.h", 38 "pick_request_task.h",
33 "pick_request_task_factory.cc",
34 "pick_request_task_factory.h",
35 "remove_requests_task.cc", 39 "remove_requests_task.cc",
36 "remove_requests_task.h", 40 "remove_requests_task.h",
37 "request_coordinator.cc", 41 "request_coordinator.cc",
38 "request_coordinator.h", 42 "request_coordinator.h",
39 "request_coordinator_event_logger.cc", 43 "request_coordinator_event_logger.cc",
40 "request_coordinator_event_logger.h", 44 "request_coordinator_event_logger.h",
41 "request_notifier.h", 45 "request_notifier.h",
42 "request_queue.cc", 46 "request_queue.cc",
43 "request_queue.h", 47 "request_queue.h",
44 "request_queue_results.h", 48 "request_queue_results.h",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 "//base", 88 "//base",
85 "//net", 89 "//net",
86 ] 90 ]
87 } 91 }
88 92
89 source_set("unit_tests") { 93 source_set("unit_tests") {
90 testonly = true 94 testonly = true
91 sources = [ 95 sources = [
92 "add_request_task_unittest.cc", 96 "add_request_task_unittest.cc",
93 "change_requests_state_task_unittest.cc", 97 "change_requests_state_task_unittest.cc",
98 "cleanup_task_unittest.cc",
94 "get_requests_task_unittest.cc", 99 "get_requests_task_unittest.cc",
95 "initialize_store_task_unittest.cc", 100 "initialize_store_task_unittest.cc",
96 "mark_attempt_aborted_task_unittest.cc", 101 "mark_attempt_aborted_task_unittest.cc",
97 "mark_attempt_completed_task_unittest.cc", 102 "mark_attempt_completed_task_unittest.cc",
98 "mark_attempt_started_task_unittest.cc", 103 "mark_attempt_started_task_unittest.cc",
99 "pick_request_task_unittest.cc", 104 "pick_request_task_unittest.cc",
100 "remove_requests_task_unittest.cc", 105 "remove_requests_task_unittest.cc",
101 "request_coordinator_event_logger_unittest.cc", 106 "request_coordinator_event_logger_unittest.cc",
102 "request_coordinator_unittest.cc", 107 "request_coordinator_unittest.cc",
103 "request_queue_store_unittest.cc", 108 "request_queue_store_unittest.cc",
104 "request_queue_unittest.cc", 109 "request_queue_unittest.cc",
105 "save_page_request_unittest.cc", 110 "save_page_request_unittest.cc",
106 ] 111 ]
107 112
108 deps = [ 113 deps = [
109 ":background_offliner", 114 ":background_offliner",
110 ":test_support", 115 ":test_support",
111 "//base", 116 "//base",
112 "//base/test:test_support", 117 "//base/test:test_support",
113 "//components/offline_pages:offline_pages", 118 "//components/offline_pages:offline_pages",
114 "//components/offline_pages:switches", 119 "//components/offline_pages:switches",
115 "//testing/gtest", 120 "//testing/gtest",
116 "//url", 121 "//url",
117 ] 122 ]
118 } 123 }
OLDNEW
« no previous file with comments | « no previous file | components/offline_pages/background/cleanup_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698