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

Side by Side Diff: components/offline_pages/core/prefetch/BUILD.gn

Issue 2856793002: [Offline Prefetch] Prefetch request fetcher (Closed)
Patch Set: Address feedback Created 3 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
« no previous file with comments | « no previous file | components/offline_pages/core/prefetch/prefetch_request_fetcher.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 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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("prefetch") { 9 static_library("prefetch") {
10 sources = [ 10 sources = [
11 "prefetch_request_fetcher.cc",
12 "prefetch_request_fetcher.h",
11 "prefetch_service.h", 13 "prefetch_service.h",
12 "prefetch_service_impl.cc", 14 "prefetch_service_impl.cc",
13 "prefetch_service_impl.h", 15 "prefetch_service_impl.h",
14 ] 16 ]
15 17
16 deps = [ 18 deps = [
17 "//base", 19 "//base",
18 "//components/keyed_service/core", 20 "//components/keyed_service/core",
19 "//components/offline_pages/core", 21 "//components/offline_pages/core",
22 "//net:net",
20 "//url", 23 "//url",
21 ] 24 ]
22 } 25 }
23 26
24 source_set("unit_tests") { 27 source_set("unit_tests") {
25 testonly = true 28 testonly = true
26 sources = [ 29 sources = [
30 "prefetch_request_fetcher_unittest.cc",
27 "prefetch_service_impl_unittest.cc", 31 "prefetch_service_impl_unittest.cc",
28 ] 32 ]
29 33
30 deps = [ 34 deps = [
31 ":prefetch", 35 ":prefetch",
32 "//components/offline_pages/core", 36 "//components/offline_pages/core",
37 "//net:test_support",
38 "//testing/gmock",
33 "//testing/gtest", 39 "//testing/gtest",
34 "//url", 40 "//url",
35 ] 41 ]
36 } 42 }
OLDNEW
« no previous file with comments | « no previous file | components/offline_pages/core/prefetch/prefetch_request_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698