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

Unified Diff: components/ntp_snippets/BUILD.gn

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/BUILD.gn
diff --git a/components/ntp_snippets/BUILD.gn b/components/ntp_snippets/BUILD.gn
index 8d68dfb31dbac2ef2e0f015414d0a4ac13c01839..69c499c10b417eaadf0efa1077c4d97e4c788bee 100644
--- a/components/ntp_snippets/BUILD.gn
+++ b/components/ntp_snippets/BUILD.gn
@@ -48,6 +48,10 @@ static_library("ntp_snippets") {
"remote/ntp_snippet.h",
"remote/ntp_snippets_fetcher.cc",
"remote/ntp_snippets_fetcher.h",
+ "remote/ntp_snippets_json_request.cc",
+ "remote/ntp_snippets_json_request.h",
+ "remote/ntp_snippets_request_params.cc",
+ "remote/ntp_snippets_request_params.h",
"remote/ntp_snippets_scheduler.h",
"remote/remote_suggestions_database.cc",
"remote/remote_suggestions_database.h",
@@ -122,6 +126,7 @@ source_set("unit_tests") {
"physical_web_pages/physical_web_page_suggestions_provider_unittest.cc",
"remote/ntp_snippet_unittest.cc",
"remote/ntp_snippets_fetcher_unittest.cc",
+ "remote/ntp_snippets_json_request_unittest.cc",
"remote/remote_suggestions_database_unittest.cc",
"remote/remote_suggestions_provider_unittest.cc",
"remote/remote_suggestions_status_service_unittest.cc",

Powered by Google App Engine
This is Rietveld 408576698