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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: components/ntp_snippets/BUILD.gn
diff --git a/components/ntp_snippets/BUILD.gn b/components/ntp_snippets/BUILD.gn
index 8d9fb594be1d137370da89383062b96c64ffb4ca..935206b938db02657a7a34baef6ad5b85b490c95 100644
--- a/components/ntp_snippets/BUILD.gn
+++ b/components/ntp_snippets/BUILD.gn
@@ -36,6 +36,8 @@ source_set("ntp_snippets") {
"ntp_snippets_status_service.h",
"pref_names.cc",
"pref_names.h",
+ "request_counter.cc",
+ "request_counter.h",
"switches.cc",
"switches.h",
]
@@ -82,6 +84,7 @@ source_set("unit_tests") {
"ntp_snippets_status_service_unittest.cc",
"ntp_snippets_test_utils.cc",
"ntp_snippets_test_utils.h",
+ "request_counter_unittest.cc",
]
deps = [

Powered by Google App Engine
This is Rietveld 408576698