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

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

Issue 2372043002: [Offline pages] Applying TaskQueue to RequestQueue::ChangeRequestsState (Closed)
Patch Set: Addressing feedback from dougarnett Created 4 years, 2 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/background/change_requests_state_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 "change_requests_state_task.cc",
12 "change_requests_state_task.h",
11 "device_conditions.h", 13 "device_conditions.h",
12 "offliner.h", 14 "offliner.h",
13 "offliner_factory.h", 15 "offliner_factory.h",
14 "offliner_policy.h", 16 "offliner_policy.h",
15 "request_coordinator.cc", 17 "request_coordinator.cc",
16 "request_coordinator.h", 18 "request_coordinator.h",
17 "request_coordinator_event_logger.cc", 19 "request_coordinator_event_logger.cc",
18 "request_coordinator_event_logger.h", 20 "request_coordinator_event_logger.h",
19 "request_picker.cc", 21 "request_picker.cc",
20 "request_picker.h", 22 "request_picker.h",
21 "request_queue.cc", 23 "request_queue.cc",
22 "request_queue.h", 24 "request_queue.h",
23 "request_queue_in_memory_store.cc", 25 "request_queue_in_memory_store.cc",
24 "request_queue_in_memory_store.h", 26 "request_queue_in_memory_store.h",
25 "request_queue_store.h", 27 "request_queue_store.h",
26 "request_queue_store_sql.cc", 28 "request_queue_store_sql.cc",
27 "request_queue_store_sql.h", 29 "request_queue_store_sql.h",
28 "save_page_request.cc", 30 "save_page_request.cc",
29 "save_page_request.h", 31 "save_page_request.h",
30 "scheduler.h", 32 "scheduler.h",
31 ] 33 ]
32 34
33 deps = [ 35 deps = [
34 "//base", 36 "//base",
35 "//components/keyed_service/core", 37 "//components/keyed_service/core",
36 "//components/offline_pages:offline_pages", 38 "//components/offline_pages:offline_pages",
39 "//components/offline_pages/core",
37 "//net", 40 "//net",
38 "//sql:sql", 41 "//sql:sql",
39 "//url", 42 "//url",
40 ] 43 ]
41 } 44 }
42 45
43 source_set("unit_tests") { 46 source_set("unit_tests") {
44 testonly = true 47 testonly = true
45 sources = [ 48 sources = [
49 "change_requests_state_task_unittest.cc",
46 "request_coordinator_event_logger_unittest.cc", 50 "request_coordinator_event_logger_unittest.cc",
47 "request_coordinator_unittest.cc", 51 "request_coordinator_unittest.cc",
48 "request_picker_unittest.cc", 52 "request_picker_unittest.cc",
49 "request_queue_store_unittest.cc", 53 "request_queue_store_unittest.cc",
50 "request_queue_unittest.cc", 54 "request_queue_unittest.cc",
51 "save_page_request_unittest.cc", 55 "save_page_request_unittest.cc",
52 ] 56 ]
53 57
54 deps = [ 58 deps = [
55 ":background_offliner", 59 ":background_offliner",
56 "//base", 60 "//base",
57 "//base/test:test_support", 61 "//base/test:test_support",
58 "//components/offline_pages:offline_pages", 62 "//components/offline_pages:offline_pages",
59 "//testing/gtest", 63 "//testing/gtest",
60 "//url", 64 "//url",
61 ] 65 ]
62 } 66 }
OLDNEW
« no previous file with comments | « no previous file | components/offline_pages/background/change_requests_state_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698