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

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

Issue 2416083002: [Offline pages] Introduction of MarkAttemptStartedTask with tests (Closed)
Patch Set: Addressing code review feedback 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/mark_attempt_started_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_started_task.cc",
15 "mark_attempt_started_task.h",
14 "offliner.h", 16 "offliner.h",
15 "offliner_factory.h", 17 "offliner_factory.h",
16 "offliner_policy.h", 18 "offliner_policy.h",
17 "remove_requests_task.cc", 19 "remove_requests_task.cc",
18 "remove_requests_task.h", 20 "remove_requests_task.h",
19 "request_coordinator.cc", 21 "request_coordinator.cc",
20 "request_coordinator.h", 22 "request_coordinator.h",
21 "request_coordinator_event_logger.cc", 23 "request_coordinator_event_logger.cc",
22 "request_coordinator_event_logger.h", 24 "request_coordinator_event_logger.h",
23 "request_notifier.h", 25 "request_notifier.h",
(...skipping 19 matching lines...) Expand all
43 "//net", 45 "//net",
44 "//sql:sql", 46 "//sql:sql",
45 "//url", 47 "//url",
46 ] 48 ]
47 } 49 }
48 50
49 source_set("unit_tests") { 51 source_set("unit_tests") {
50 testonly = true 52 testonly = true
51 sources = [ 53 sources = [
52 "change_requests_state_task_unittest.cc", 54 "change_requests_state_task_unittest.cc",
55 "mark_attempt_started_task_unittest.cc",
53 "remove_requests_task_unittest.cc", 56 "remove_requests_task_unittest.cc",
54 "request_coordinator_event_logger_unittest.cc", 57 "request_coordinator_event_logger_unittest.cc",
55 "request_coordinator_unittest.cc", 58 "request_coordinator_unittest.cc",
56 "request_picker_unittest.cc", 59 "request_picker_unittest.cc",
57 "request_queue_store_unittest.cc", 60 "request_queue_store_unittest.cc",
58 "request_queue_unittest.cc", 61 "request_queue_unittest.cc",
59 "save_page_request_unittest.cc", 62 "save_page_request_unittest.cc",
60 ] 63 ]
61 64
62 deps = [ 65 deps = [
63 ":background_offliner", 66 ":background_offliner",
64 "//base", 67 "//base",
65 "//base/test:test_support", 68 "//base/test:test_support",
66 "//components/offline_pages:offline_pages", 69 "//components/offline_pages:offline_pages",
67 "//testing/gtest", 70 "//testing/gtest",
68 "//url", 71 "//url",
69 ] 72 ]
70 } 73 }
OLDNEW
« no previous file with comments | « no previous file | components/offline_pages/background/mark_attempt_started_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698