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

Unified Diff: components/ntp_snippets/remote/request_throttler.h

Issue 2395123002: Connecting UserClassifier to NtpSnippetsFetcher (Closed)
Patch Set: Unit-test fix Created 4 years, 2 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/remote/request_throttler.h
diff --git a/components/ntp_snippets/remote/request_throttler.h b/components/ntp_snippets/remote/request_throttler.h
index 30c2dd557c5f3009bec402459ced79e2d5c49534..3435799097ce56fbaf4c5566fd414fe3feb25e5d 100644
--- a/components/ntp_snippets/remote/request_throttler.h
+++ b/components/ntp_snippets/remote/request_throttler.h
@@ -40,7 +40,9 @@ class RequestThrottler {
public:
// Enumeration listing all current applications of the request counter.
enum class RequestType {
- CONTENT_SUGGESTION_FETCHER,
+ CONTENT_SUGGESTION_FETCHER_RARE_NTP_USER,
+ CONTENT_SUGGESTION_FETCHER_ACTIVE_NTP_USER,
+ CONTENT_SUGGESTION_FETCHER_ACTIVE_SUGGESTIONS_CONSUMER,
CONTENT_SUGGESTION_THUMBNAIL,
};
« no previous file with comments | « components/ntp_snippets/remote/ntp_snippets_service_unittest.cc ('k') | components/ntp_snippets/remote/request_throttler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698