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

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

Issue 2449873003: [NTP Snippets] Another round of clang-tidy cleanups (Closed)
Patch Set: review 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/ntp_snippets_fetcher.h
diff --git a/components/ntp_snippets/remote/ntp_snippets_fetcher.h b/components/ntp_snippets/remote/ntp_snippets_fetcher.h
index f5bbf27412cc229053c8a01e15988a324e07afc0..9e4df872d9d9cb1fc9b3a68f6c53a63aeab02699 100644
--- a/components/ntp_snippets/remote/ntp_snippets_fetcher.h
+++ b/components/ntp_snippets/remote/ntp_snippets_fetcher.h
@@ -169,14 +169,14 @@ class NTPSnippetsFetcher : public OAuth2TokenService::Consumer,
};
struct RequestParams {
- FetchAPI fetch_api;
+ FetchAPI fetch_api = CHROME_READER_API;
std::string obfuscated_gaia_id;
- bool only_return_personalized_results;
+ bool only_return_personalized_results = false;
std::string user_locale;
std::set<std::string> host_restricts;
std::set<std::string> excluded_ids;
- int count_to_fetch;
- bool interactive_request;
+ int count_to_fetch = 0;
+ bool interactive_request = false;
std::string user_class;
translate::LanguageModel::LanguageInfo ui_language;
translate::LanguageModel::LanguageInfo other_top_language;

Powered by Google App Engine
This is Rietveld 408576698