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

Unified Diff: components/ntp_snippets/BUILD.gn

Issue 2557363002: [NTP Snippets] Refactor background scheduling for remote suggestions (Closed)
Patch Set: Rebase 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 b37377db155cefdfc0da47d1def5ab280734652d..d44274090d0163b1263a25ba19bec2050a5293f1 100644
--- a/components/ntp_snippets/BUILD.gn
+++ b/components/ntp_snippets/BUILD.gn
@@ -49,15 +49,20 @@ static_library("ntp_snippets") {
"remote/ntp_snippet.h",
"remote/ntp_snippets_fetcher.cc",
"remote/ntp_snippets_fetcher.h",
- "remote/ntp_snippets_scheduler.h",
+ "remote/persistent_scheduler.h",
"remote/remote_suggestions_database.cc",
"remote/remote_suggestions_database.h",
"remote/remote_suggestions_provider.cc",
"remote/remote_suggestions_provider.h",
+ "remote/remote_suggestions_provider_impl.cc",
+ "remote/remote_suggestions_provider_impl.h",
+ "remote/remote_suggestions_scheduler.h",
"remote/remote_suggestions_status_service.cc",
"remote/remote_suggestions_status_service.h",
"remote/request_throttler.cc",
"remote/request_throttler.h",
+ "remote/scheduling_remote_suggestions_provider.cc",
+ "remote/scheduling_remote_suggestions_provider.h",
"sessions/foreign_sessions_suggestions_provider.cc",
"sessions/foreign_sessions_suggestions_provider.h",
"sessions/tab_delegate_sync_adapter.cc",
@@ -125,9 +130,10 @@ source_set("unit_tests") {
"remote/ntp_snippet_unittest.cc",
"remote/ntp_snippets_fetcher_unittest.cc",
"remote/remote_suggestions_database_unittest.cc",
- "remote/remote_suggestions_provider_unittest.cc",
+ "remote/remote_suggestions_provider_impl_unittest.cc",
"remote/remote_suggestions_status_service_unittest.cc",
"remote/request_throttler_unittest.cc",
+ "remote/scheduling_remote_suggestions_provider_unittest.cc",
"remote/test_utils.cc",
"remote/test_utils.h",
"sessions/foreign_sessions_suggestions_provider_unittest.cc",

Powered by Google App Engine
This is Rietveld 408576698