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

Unified Diff: components/ntp_snippets/pref_names.h

Issue 2227973002: Add request throttler to thumbnail fetching for articles on mobile NTP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/pref_names.h
diff --git a/components/ntp_snippets/pref_names.h b/components/ntp_snippets/pref_names.h
index 4fdea4ebba7065ad0935aa66825b9bf055e1dc6a..e07ca2c7b597f1945cae1feb6dfb14b5bc4e1a19 100644
--- a/components/ntp_snippets/pref_names.h
+++ b/components/ntp_snippets/pref_names.h
@@ -14,10 +14,20 @@ extern const char kSnippetHosts[];
// The pref name for today's count of NTPSnippetsFetcher requests, so far.
extern const char kSnippetFetcherQuotaCount[];
+// The pref name for today's count of NTPSnippetsFetcher interactive requests.
+extern const char kSnippetFetcherInteractiveQuotaCount[];
Marc Treib 2016/08/09 14:04:53 I still think we should remove "Quota" from these
jkrcal 2016/08/10 10:27:26 Done.
// The pref name for the current day for the counter of NTPSnippetsFetcher
// requests.
extern const char kSnippetFetcherQuotaDay[];
+// The pref name for today's count of NTPSnippetsFetcher requests, so far.
+extern const char kSnippetThumbnailsQuotaCount[];
+// The pref name for today's count of NTPSnippetsFetcher requests, so far.
+extern const char kSnippetThumbnailsInteractiveQuotaCount[];
+// The pref name for the current day for the counter of NTPSnippetsFetcher
+// requests.
+extern const char kSnippetThumbnailsQuotaDay[];
+
} // namespace prefs
} // namespace ntp_snippets

Powered by Google App Engine
This is Rietveld 408576698