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

Unified Diff: chrome/browser/chromeos/status/data_promo_notification.h

Issue 1022333002: Initial CL for Data Saver (Flywheel) prompt when cellular network detected (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review, remove hotkey Created 5 years, 9 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: chrome/browser/chromeos/status/data_promo_notification.h
diff --git a/chrome/browser/chromeos/status/data_promo_notification.h b/chrome/browser/chromeos/status/data_promo_notification.h
index def5e8e6135d968df0063d2ecb1094e80f6ca2d6..3dae8d9b9daf4dc7573689bdf0a8314e619355ac 100644
--- a/chrome/browser/chromeos/status/data_promo_notification.h
+++ b/chrome/browser/chromeos/status/data_promo_notification.h
@@ -37,9 +37,11 @@ class DataPromoNotification : public NetworkStateHandlerObserver {
// Shows 3G promo notification if needed.
void ShowOptionalMobileDataPromoNotification();
- // True if check for promo needs to be done, otherwise ignore it for the
- // current session.
- bool check_for_promo_;
+ // Show notification prompting user to install Data Saver extension.
+ bool ShowDataSaverNotification();
+
+ // True if we've shown notifications during this session, won't show again.
+ bool notifications_shown_;
// Factory for delaying showing promo notification.
base::WeakPtrFactory<DataPromoNotification> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698