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

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

Issue 1951483002: [Offline pages] Adding in memory request queue store with tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Udpating name of variable to make code more readable Created 4 years, 7 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
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 # GYP: //components/offline_pages/offline_pages.gypi:background_offliner 9 # GYP: //components/offline_pages/offline_pages.gypi:background_offliner
10 static_library("background_offliner") { 10 static_library("background_offliner") {
11 sources = [ 11 sources = [
12 "offliner.h", 12 "offliner.h",
13 "request_coordinator.cc", 13 "request_coordinator.cc",
14 "request_coordinator.h", 14 "request_coordinator.h",
15 "request_queue.cc", 15 "request_queue.cc",
16 "request_queue.h", 16 "request_queue.h",
17 "request_queue_in_memory_store.cc",
18 "request_queue_in_memory_store.h",
19 "request_queue_store.h",
17 "save_page_request.cc", 20 "save_page_request.cc",
18 "save_page_request.h", 21 "save_page_request.h",
19 "scheduler.h", 22 "scheduler.h",
20 ] 23 ]
21 24
22 deps = [ 25 deps = [
23 "//base", 26 "//base",
24 "//components/offline_pages:offline_pages", 27 "//components/offline_pages:offline_pages",
25 "//net", 28 "//net",
26 "//url", 29 "//url",
27 ] 30 ]
28 } 31 }
29 32
30 source_set("unit_tests") { 33 source_set("unit_tests") {
31 testonly = true 34 testonly = true
32 sources = [ 35 sources = [
36 "request_queue_in_memory_store_unittest.cc",
33 "save_page_request_unittest.cc", 37 "save_page_request_unittest.cc",
34 ] 38 ]
35 39
36 deps = [ 40 deps = [
37 ":background_offliner", 41 ":background_offliner",
38 "//base", 42 "//base",
43 "//base/test:test_support",
39 "//components/offline_pages:offline_pages", 44 "//components/offline_pages:offline_pages",
40 "//testing/gtest", 45 "//testing/gtest",
41 "//url", 46 "//url",
42 ] 47 ]
43 } 48 }
OLDNEW
« no previous file with comments | « components/offline_pages.gypi ('k') | components/offline_pages/background/request_queue_in_memory_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698