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

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

Issue 2335913002: Add daily quota for precache (Closed)
Patch Set: Addressed sclittle@ comments Created 4 years, 3 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"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 "//components/prefs", 47 "//components/prefs",
48 "//net", 48 "//net",
49 "//sql", 49 "//sql",
50 "//url", 50 "//url",
51 ] 51 ]
52 } 52 }
53 53
54 proto_library("proto") { 54 proto_library("proto") {
55 sources = [ 55 sources = [
56 "proto/precache.proto", 56 "proto/precache.proto",
57 "proto/quota.proto",
57 "proto/timestamp.proto", 58 "proto/timestamp.proto",
58 "proto/unfinished_work.proto", 59 "proto/unfinished_work.proto",
59 ] 60 ]
60 } 61 }
61 62
62 source_set("unit_tests") { 63 source_set("unit_tests") {
63 testonly = true 64 testonly = true
64 sources = [ 65 sources = [
65 "fetcher_pool_unittest.cc", 66 "fetcher_pool_unittest.cc",
66 "precache_database_unittest.cc", 67 "precache_database_unittest.cc",
(...skipping 10 matching lines...) Expand all
77 ":proto", 78 ":proto",
78 "//base", 79 "//base",
79 "//base/test:test_support", 80 "//base/test:test_support",
80 "//components/history/core/browser", 81 "//components/history/core/browser",
81 "//net:test_support", 82 "//net:test_support",
82 "//sql", 83 "//sql",
83 "//testing/gmock", 84 "//testing/gmock",
84 "//testing/gtest", 85 "//testing/gtest",
85 ] 86 ]
86 } 87 }
OLDNEW
« no previous file with comments | « no previous file | components/precache/core/precache_database.h » ('j') | components/precache/core/precache_fetcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698