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

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

Issue 2578173002: NTP: Extract JSON requests from Fetcher. (Closed)
Patch Set: Created 4 years 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/remote_suggestions_provider.h
diff --git a/components/ntp_snippets/remote/remote_suggestions_provider.h b/components/ntp_snippets/remote/remote_suggestions_provider.h
index 1c39bb8b8c8972a48d2b82db23751c7c0c9a92bc..4142a5ae4b81f83a205d3f4b26afba60799f67cf 100644
--- a/components/ntp_snippets/remote/remote_suggestions_provider.h
+++ b/components/ntp_snippets/remote/remote_suggestions_provider.h
@@ -45,6 +45,7 @@ class ImageFetcher;
namespace ntp_snippets {
+struct NTPSnippetsRequestParams;
tschumann 2016/12/16 16:36:20 no need to distinguish struct vs class in forward
fhorschig 2016/12/20 10:07:38 Done.
class RemoteSuggestionsDatabase;
class UserClassifier;
@@ -393,7 +394,7 @@ class RemoteSuggestionsProvider final : public ContentSuggestionsProvider {
void RestoreCategoriesFromPrefs();
void StoreCategoriesToPrefs();
- NTPSnippetsFetcher::Params BuildFetchParams() const;
+ NTPSnippetsRequestParams BuildFetchParams() const;
void MarkEmptyCategoriesAsLoading();

Powered by Google App Engine
This is Rietveld 408576698