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

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

Issue 2463713003: [Offline Pages] Converts MarkAttemptCompleted to use TaskQueue (Closed)
Patch Set: Ternary nit and format fix Created 4 years, 1 month 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/mark_attempt_completed_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", 11 "change_requests_state_task.cc",
12 "change_requests_state_task.h", 12 "change_requests_state_task.h",
13 "device_conditions.h", 13 "device_conditions.h",
14 "mark_attempt_aborted_task.cc", 14 "mark_attempt_aborted_task.cc",
15 "mark_attempt_aborted_task.h", 15 "mark_attempt_aborted_task.h",
16 "mark_attempt_completed_task.cc",
17 "mark_attempt_completed_task.h",
16 "mark_attempt_started_task.cc", 18 "mark_attempt_started_task.cc",
17 "mark_attempt_started_task.h", 19 "mark_attempt_started_task.h",
18 "offliner.h", 20 "offliner.h",
19 "offliner_factory.h", 21 "offliner_factory.h",
20 "offliner_policy.h", 22 "offliner_policy.h",
21 "remove_requests_task.cc", 23 "remove_requests_task.cc",
22 "remove_requests_task.h", 24 "remove_requests_task.h",
23 "request_coordinator.cc", 25 "request_coordinator.cc",
24 "request_coordinator.h", 26 "request_coordinator.h",
25 "request_coordinator_event_logger.cc", 27 "request_coordinator_event_logger.cc",
(...skipping 24 matching lines...) Expand all
50 "//sql:sql", 52 "//sql:sql",
51 "//url", 53 "//url",
52 ] 54 ]
53 } 55 }
54 56
55 source_set("unit_tests") { 57 source_set("unit_tests") {
56 testonly = true 58 testonly = true
57 sources = [ 59 sources = [
58 "change_requests_state_task_unittest.cc", 60 "change_requests_state_task_unittest.cc",
59 "mark_attempt_aborted_task_unittest.cc", 61 "mark_attempt_aborted_task_unittest.cc",
62 "mark_attempt_completed_task_unittest.cc",
60 "mark_attempt_started_task_unittest.cc", 63 "mark_attempt_started_task_unittest.cc",
61 "remove_requests_task_unittest.cc", 64 "remove_requests_task_unittest.cc",
62 "request_coordinator_event_logger_unittest.cc", 65 "request_coordinator_event_logger_unittest.cc",
63 "request_coordinator_unittest.cc", 66 "request_coordinator_unittest.cc",
64 "request_picker_unittest.cc", 67 "request_picker_unittest.cc",
65 "request_queue_store_unittest.cc", 68 "request_queue_store_unittest.cc",
66 "request_queue_unittest.cc", 69 "request_queue_unittest.cc",
67 "save_page_request_unittest.cc", 70 "save_page_request_unittest.cc",
68 ] 71 ]
69 72
70 deps = [ 73 deps = [
71 ":background_offliner", 74 ":background_offliner",
72 "//base", 75 "//base",
73 "//base/test:test_support", 76 "//base/test:test_support",
74 "//components/offline_pages:offline_pages", 77 "//components/offline_pages:offline_pages",
75 "//testing/gtest", 78 "//testing/gtest",
76 "//url", 79 "//url",
77 ] 80 ]
78 } 81 }
OLDNEW
« no previous file with comments | « no previous file | components/offline_pages/background/mark_attempt_completed_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698