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

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: Tim's comments (renaming) 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 686f6edbd79ab92329d859fe7fa3cb5e5dc0ad79..9166ece56e05daced3cdc33c5e474c14c6b52bf0 100644
--- a/components/ntp_snippets/BUILD.gn
+++ b/components/ntp_snippets/BUILD.gn
@@ -38,6 +38,8 @@ source_set("ntp_snippets") {
"offline_pages/offline_page_suggestions_provider.h",
"pref_names.cc",
"pref_names.h",
+ "request_throttler.cc",
+ "request_throttler.h",
"switches.cc",
"switches.h",
]
@@ -87,6 +89,7 @@ source_set("unit_tests") {
"ntp_snippets_status_service_unittest.cc",
"ntp_snippets_test_utils.cc",
"ntp_snippets_test_utils.h",
+ "request_throttler_unittest.cc",
]
deps = [

Powered by Google App Engine
This is Rietveld 408576698