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

Side by Side Diff: components/ntp_snippets/BUILD.gn

Issue 2158843002: Introduce a request throttler for limiting requests in mobile NTP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: A minor fix #3 Created 4 years, 5 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("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 18 matching lines...) Expand all
29 "ntp_snippets_database.h", 29 "ntp_snippets_database.h",
30 "ntp_snippets_fetcher.cc", 30 "ntp_snippets_fetcher.cc",
31 "ntp_snippets_fetcher.h", 31 "ntp_snippets_fetcher.h",
32 "ntp_snippets_scheduler.h", 32 "ntp_snippets_scheduler.h",
33 "ntp_snippets_service.cc", 33 "ntp_snippets_service.cc",
34 "ntp_snippets_service.h", 34 "ntp_snippets_service.h",
35 "ntp_snippets_status_service.cc", 35 "ntp_snippets_status_service.cc",
36 "ntp_snippets_status_service.h", 36 "ntp_snippets_status_service.h",
37 "pref_names.cc", 37 "pref_names.cc",
38 "pref_names.h", 38 "pref_names.h",
39 "request_counter.cc",
40 "request_counter.h",
39 "switches.cc", 41 "switches.cc",
40 "switches.h", 42 "switches.h",
41 ] 43 ]
42 44
43 public_deps = [ 45 public_deps = [
44 "//base", 46 "//base",
45 "//components/keyed_service/core", 47 "//components/keyed_service/core",
46 "//components/leveldb_proto", 48 "//components/leveldb_proto",
47 "//components/prefs", 49 "//components/prefs",
48 "//components/signin/core/browser", 50 "//components/signin/core/browser",
(...skipping 26 matching lines...) Expand all
75 source_set("unit_tests") { 77 source_set("unit_tests") {
76 testonly = true 78 testonly = true
77 sources = [ 79 sources = [
78 "ntp_snippet_unittest.cc", 80 "ntp_snippet_unittest.cc",
79 "ntp_snippets_database_unittest.cc", 81 "ntp_snippets_database_unittest.cc",
80 "ntp_snippets_fetcher_unittest.cc", 82 "ntp_snippets_fetcher_unittest.cc",
81 "ntp_snippets_service_unittest.cc", 83 "ntp_snippets_service_unittest.cc",
82 "ntp_snippets_status_service_unittest.cc", 84 "ntp_snippets_status_service_unittest.cc",
83 "ntp_snippets_test_utils.cc", 85 "ntp_snippets_test_utils.cc",
84 "ntp_snippets_test_utils.h", 86 "ntp_snippets_test_utils.h",
87 "request_counter_unittest.cc",
85 ] 88 ]
86 89
87 deps = [ 90 deps = [
88 ":ntp_snippets", 91 ":ntp_snippets",
89 "//base", 92 "//base",
90 "//base/test:test_support", 93 "//base/test:test_support",
91 "//components/image_fetcher", 94 "//components/image_fetcher",
92 "//components/leveldb_proto:test_support", 95 "//components/leveldb_proto:test_support",
93 "//components/signin/core/browser:test_support", 96 "//components/signin/core/browser:test_support",
94 "//components/signin/core/common", 97 "//components/signin/core/common",
95 "//components/sync_driver:test_support", 98 "//components/sync_driver:test_support",
96 "//components/variations", 99 "//components/variations",
97 "//net:test_support", 100 "//net:test_support",
98 "//testing/gtest", 101 "//testing/gtest",
99 "//third_party/icu/", 102 "//third_party/icu/",
100 ] 103 ]
101 } 104 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698