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

Unified Diff: components/ntp_snippets/ntp_snippets_fetcher.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: One forgotten comment 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/ntp_snippets_fetcher.h
diff --git a/components/ntp_snippets/ntp_snippets_fetcher.h b/components/ntp_snippets/ntp_snippets_fetcher.h
index 52c49f5faf2420e9ca7e5e2e806964fb92e7a7fb..33f6c180ff2cc205d0bee64c7cfe6b7c2af5d015 100644
--- a/components/ntp_snippets/ntp_snippets_fetcher.h
+++ b/components/ntp_snippets/ntp_snippets_fetcher.h
@@ -97,11 +97,11 @@ class NTPSnippetsFetcher : public OAuth2TokenService::Consumer,
// subscriber of SetCallback()).
//
// Fetches snippets only if the daily quota not exceeded, unless
- // |force_request| is set to true. Use force only for user-initiated fetches.
+ // |interactive_request| is set to true (use only for user-initiated fetches).
void FetchSnippetsFromHosts(const std::set<std::string>& hosts,
const std::string& language_code,
int count,
- bool force_request);
+ bool interactive_request);
// Debug string representing the status/result of the last fetch attempt.
const std::string& last_status() const { return last_status_; }
« no previous file with comments | « no previous file | components/ntp_snippets/ntp_snippets_fetcher.cc » ('j') | components/ntp_snippets/ntp_snippets_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698