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

Unified Diff: components/ntp_snippets/remote/persistent_scheduler.h

Issue 2794313002: [Remote suggestions] Prioritize wifi for soft fetches. (Closed)
Patch Set: Fix an error in rebase Created 3 years, 8 months 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/remote/persistent_scheduler.h
diff --git a/components/ntp_snippets/remote/persistent_scheduler.h b/components/ntp_snippets/remote/persistent_scheduler.h
index 70a27e74ef095fdc3a6caf0a9b39c960caba571c..080ceb0b6011c7520488731dcd71bd38bd96f8c9 100644
--- a/components/ntp_snippets/remote/persistent_scheduler.h
+++ b/components/ntp_snippets/remote/persistent_scheduler.h
@@ -35,6 +35,10 @@ class PersistentScheduler {
// the scheduling was successful.
virtual bool Unschedule() = 0;
+ // TODO(jkrcal): Get this information exposed in the platform-independent
+ // net::NetworkChangeNotifier and remove this function.
+ virtual bool IsOnUnmeteredConnection() = 0;
+
protected:
PersistentScheduler() = default;
« no previous file with comments | « components/ntp_snippets/pref_names.cc ('k') | components/ntp_snippets/remote/remote_suggestions_scheduler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698