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

Unified Diff: chrome/browser/chromeos/network_message_observer.h

Issue 3923002: Revert 63135 - Update icons to show lowdata and very lowdata for 3G data.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 2 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/network_message_observer.h
===================================================================
--- chrome/browser/chromeos/network_message_observer.h (revision 63144)
+++ chrome/browser/chromeos/network_message_observer.h (working copy)
@@ -20,6 +20,12 @@
namespace chromeos {
+// We show nearing expiration notification when less than 30 minutes.
+static const int kDataNearingExpirationSecs = 30 * 60;
+
+// We show low data notification when less than 50MB.
+static const int kDataLowDataBytes = 50 * 1024;
+
// The network message observer displays a system notification for network
// messages.
@@ -36,7 +42,8 @@
// NetworkLibrary::Observer implementation.
virtual void NetworkChanged(NetworkLibrary* obj);
- virtual void CellularDataPlanChanged(NetworkLibrary* obj);
+ virtual void CellularDataPlanChanged(const std::string& service_path,
+ const CellularDataPlanList& plans);
bool initialized_;
// Wifi networks by service path.
« no previous file with comments | « chrome/browser/chromeos/dom_ui/internet_options_handler.cc ('k') | chrome/browser/chromeos/network_message_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698