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

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

Issue 2527293002: [Offline pages] Adding AddRequestTask to Request Queue (Closed)
Patch Set: Rebased 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/add_request_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",
12 "add_request_task.h",
11 "change_requests_state_task.cc", 13 "change_requests_state_task.cc",
12 "change_requests_state_task.h", 14 "change_requests_state_task.h",
13 "device_conditions.h", 15 "device_conditions.h",
14 "get_requests_task.cc", 16 "get_requests_task.cc",
15 "get_requests_task.h", 17 "get_requests_task.h",
16 "mark_attempt_aborted_task.cc", 18 "mark_attempt_aborted_task.cc",
17 "mark_attempt_aborted_task.h", 19 "mark_attempt_aborted_task.h",
18 "mark_attempt_completed_task.cc", 20 "mark_attempt_completed_task.cc",
19 "mark_attempt_completed_task.h", 21 "mark_attempt_completed_task.h",
20 "mark_attempt_started_task.cc", 22 "mark_attempt_started_task.cc",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 deps = [ 78 deps = [
77 ":background_offliner", 79 ":background_offliner",
78 "//base", 80 "//base",
79 "//net", 81 "//net",
80 ] 82 ]
81 } 83 }
82 84
83 source_set("unit_tests") { 85 source_set("unit_tests") {
84 testonly = true 86 testonly = true
85 sources = [ 87 sources = [
88 "add_request_task_unittest.cc",
86 "change_requests_state_task_unittest.cc", 89 "change_requests_state_task_unittest.cc",
87 "get_requests_task_unittest.cc", 90 "get_requests_task_unittest.cc",
88 "mark_attempt_aborted_task_unittest.cc", 91 "mark_attempt_aborted_task_unittest.cc",
89 "mark_attempt_completed_task_unittest.cc", 92 "mark_attempt_completed_task_unittest.cc",
90 "mark_attempt_started_task_unittest.cc", 93 "mark_attempt_started_task_unittest.cc",
91 "pick_request_task_unittest.cc", 94 "pick_request_task_unittest.cc",
92 "remove_requests_task_unittest.cc", 95 "remove_requests_task_unittest.cc",
93 "request_coordinator_event_logger_unittest.cc", 96 "request_coordinator_event_logger_unittest.cc",
94 "request_coordinator_unittest.cc", 97 "request_coordinator_unittest.cc",
95 "request_queue_store_unittest.cc", 98 "request_queue_store_unittest.cc",
96 "request_queue_unittest.cc", 99 "request_queue_unittest.cc",
97 "save_page_request_unittest.cc", 100 "save_page_request_unittest.cc",
98 ] 101 ]
99 102
100 deps = [ 103 deps = [
101 ":background_offliner", 104 ":background_offliner",
102 ":test_support", 105 ":test_support",
103 "//base", 106 "//base",
104 "//base/test:test_support", 107 "//base/test:test_support",
105 "//components/offline_pages:offline_pages", 108 "//components/offline_pages:offline_pages",
106 "//components/offline_pages:switches", 109 "//components/offline_pages:switches",
107 "//testing/gtest", 110 "//testing/gtest",
108 "//url", 111 "//url",
109 ] 112 ]
110 } 113 }
OLDNEW
« no previous file with comments | « no previous file | components/offline_pages/background/add_request_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698