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

Unified Diff: chrome/browser/android/ntp/ntp_snippets_launcher.h

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: chrome/browser/android/ntp/ntp_snippets_launcher.h
diff --git a/chrome/browser/android/ntp/ntp_snippets_launcher.h b/chrome/browser/android/ntp/ntp_snippets_launcher.h
index 2dfbb4bafeca2bd7a48ebde53d3e63c432cc55fc..bd163a08720692d5599fbd660ad958b2cf54a39a 100644
--- a/chrome/browser/android/ntp/ntp_snippets_launcher.h
+++ b/chrome/browser/android/ntp/ntp_snippets_launcher.h
@@ -9,12 +9,13 @@
#include "base/lazy_instance.h"
#include "base/macros.h"
#include "base/time/time.h"
-#include "components/ntp_snippets/remote/ntp_snippets_scheduler.h"
+#include "components/ntp_snippets/remote/persistent_scheduler.h"
// Android implementation of ntp_snippets::NTPSnippetsScheduler.
// The NTPSnippetsLauncher singleton owns the Java SnippetsLauncher object, and
// is used to schedule the fetching of snippets. Runs on the UI thread.
-class NTPSnippetsLauncher : public ntp_snippets::NTPSnippetsScheduler {
+class NTPSnippetsLauncher
+ : public ntp_snippets::PersistentScheduler {
public:
static NTPSnippetsLauncher* Get();
« no previous file with comments | « chrome/browser/android/ntp/ntp_snippets_bridge.cc ('k') | chrome/browser/ntp_snippets/content_suggestions_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698