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

Unified Diff: components/ntp_snippets/BUILD.gn

Issue 2557363002: [NTP Snippets] Refactor background scheduling for remote suggestions (Closed)
Patch Set: Make unit-tests pass 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..08da7967d94570046df1ebb074bc03f1a6cf05fa 100644
--- a/components/ntp_snippets/BUILD.gn
+++ b/components/ntp_snippets/BUILD.gn
@@ -48,11 +48,13 @@ static_library("ntp_snippets") {
"remote/ntp_snippet.h",
"remote/ntp_snippets_fetcher.cc",
"remote/ntp_snippets_fetcher.h",
- "remote/ntp_snippets_scheduler.h",
"remote/remote_suggestions_database.cc",
"remote/remote_suggestions_database.h",
+ "remote/remote_suggestions_hard_scheduler.h",
"remote/remote_suggestions_provider.cc",
"remote/remote_suggestions_provider.h",
+ "remote/remote_suggestions_scheduler.cc",
+ "remote/remote_suggestions_scheduler.h",
"remote/remote_suggestions_status_service.cc",
"remote/remote_suggestions_status_service.h",
"remote/request_throttler.cc",
@@ -124,6 +126,7 @@ source_set("unit_tests") {
"remote/ntp_snippets_fetcher_unittest.cc",
"remote/remote_suggestions_database_unittest.cc",
"remote/remote_suggestions_provider_unittest.cc",
+ "remote/remote_suggestions_scheduler_unittest.cc",
"remote/remote_suggestions_status_service_unittest.cc",
"remote/request_throttler_unittest.cc",
"remote/test_utils.cc",

Powered by Google App Engine
This is Rietveld 408576698