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

Side by Side Diff: components/precache/core/BUILD.gn

Issue 2802053002: precache: Extract common methods for PrecacheManifest into util. (Closed)
Patch Set: Copyright. Created 3 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//third_party/protobuf/proto_library.gni") 5 import("//third_party/protobuf/proto_library.gni")
6 6
7 # These values are duplicated in the GYP build in: 7 # These values are duplicated in the GYP build in:
8 # //components/precache/precache_defines.gypi 8 # //components/precache/precache_defines.gypi
9 precache_config_settings_url = 9 precache_config_settings_url =
10 "https://www.gstatic.com/chrome/wifiprefetch/precache_config" 10 "https://www.gstatic.com/chrome/wifiprefetch/precache_config"
11 precache_manifest_url_prefix = 11 precache_manifest_url_prefix =
12 "https://www.gstatic.com/chrome/wifiprefetch/hosts/" 12 "https://www.gstatic.com/chrome/wifiprefetch/hosts/"
13 13
14 config("precache_config") { 14 config("precache_config") {
15 defines = [ 15 defines = [
16 "PRECACHE_CONFIG_SETTINGS_URL=\"$precache_config_settings_url\"", 16 "PRECACHE_CONFIG_SETTINGS_URL=\"$precache_config_settings_url\"",
17 "PRECACHE_MANIFEST_URL_PREFIX=\"$precache_manifest_url_prefix\"", 17 "PRECACHE_MANIFEST_URL_PREFIX=\"$precache_manifest_url_prefix\"",
18 ] 18 ]
19 } 19 }
20 20
21 static_library("core") { 21 static_library("core") {
22 sources = [ 22 sources = [
23 "fetcher_pool.h", 23 "fetcher_pool.h",
24 "precache_database.cc", 24 "precache_database.cc",
25 "precache_database.h", 25 "precache_database.h",
26 "precache_fetcher.cc", 26 "precache_fetcher.cc",
27 "precache_fetcher.h", 27 "precache_fetcher.h",
28 "precache_manifest_util.cc",
29 "precache_manifest_util.h",
28 "precache_referrer_host_table.cc", 30 "precache_referrer_host_table.cc",
29 "precache_referrer_host_table.h", 31 "precache_referrer_host_table.h",
30 "precache_session_table.cc", 32 "precache_session_table.cc",
31 "precache_session_table.h", 33 "precache_session_table.h",
32 "precache_switches.cc", 34 "precache_switches.cc",
33 "precache_switches.h", 35 "precache_switches.h",
34 "precache_url_table.cc", 36 "precache_url_table.cc",
35 "precache_url_table.h", 37 "precache_url_table.h",
36 ] 38 ]
37 39
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 ":proto", 81 ":proto",
80 "//base", 82 "//base",
81 "//base/test:test_support", 83 "//base/test:test_support",
82 "//components/history/core/browser", 84 "//components/history/core/browser",
83 "//net:test_support", 85 "//net:test_support",
84 "//sql", 86 "//sql",
85 "//testing/gmock", 87 "//testing/gmock",
86 "//testing/gtest", 88 "//testing/gtest",
87 ] 89 ]
88 } 90 }
OLDNEW
« no previous file with comments | « chrome/browser/predictors/resource_prefetch_predictor.cc ('k') | components/precache/core/precache_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698