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

Unified Diff: components/ntp_snippets/BUILD.gn

Issue 2557363002: [NTP Snippets] Refactor background scheduling for remote suggestions (Closed)
Patch Set: Fixing the last changes :) 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 b55ba7b4985631671a621966a17fd09e0f70932a..c3477b30d8867a7d4534c4ff0bea2e0a32a3865f 100644
--- a/components/ntp_snippets/BUILD.gn
+++ b/components/ntp_snippets/BUILD.gn
@@ -53,15 +53,20 @@ static_library("ntp_snippets") {
"remote/ntp_snippets_json_request.h",
"remote/ntp_snippets_request_params.cc",
"remote/ntp_snippets_request_params.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",
@@ -130,9 +135,10 @@ source_set("unit_tests") {
"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_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",
« no previous file with comments | « chrome/browser/ui/webui/snippets_internals_message_handler.cc ('k') | components/ntp_snippets/content_suggestions_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698