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

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

Issue 2864293003: [Offline Pages] Add a GCMAppHandler for offline page prefetch. (Closed)
Patch Set: Touch ups. 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
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", 11 "prefetch_request_fetcher.cc",
12 "prefetch_request_fetcher.h", 12 "prefetch_request_fetcher.h",
13 "prefetch_service.h", 13 "prefetch_service.h",
14 "prefetch_service_impl.cc", 14 "prefetch_service_impl.cc",
15 "prefetch_service_impl.h", 15 "prefetch_service_impl.h",
16 ] 16 ]
17 17
18 deps = [ 18 deps = [
19 "//base", 19 "//base",
20 "//components/gcm_driver",
21 "//components/gcm_driver/common",
20 "//components/keyed_service/core", 22 "//components/keyed_service/core",
21 "//components/offline_pages/core", 23 "//components/offline_pages/core",
22 "//net:net", 24 "//net:net",
23 "//url", 25 "//url",
24 ] 26 ]
25 } 27 }
26 28
27 source_set("unit_tests") { 29 source_set("unit_tests") {
28 testonly = true 30 testonly = true
29 sources = [ 31 sources = [
30 "prefetch_request_fetcher_unittest.cc", 32 "prefetch_request_fetcher_unittest.cc",
31 "prefetch_service_impl_unittest.cc", 33 "prefetch_service_impl_unittest.cc",
32 ] 34 ]
33 35
34 deps = [ 36 deps = [
35 ":prefetch", 37 ":prefetch",
36 "//components/offline_pages/core", 38 "//components/offline_pages/core",
37 "//net:test_support", 39 "//net:test_support",
38 "//testing/gmock", 40 "//testing/gmock",
39 "//testing/gtest", 41 "//testing/gtest",
40 "//url", 42 "//url",
41 ] 43 ]
42 } 44 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698