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

Unified Diff: chrome/browser/chromeos/status/network_menu.cc

Issue 6370010: Fix bug where when the 3G data plan is unknown, we show a green 3G badge. We ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
« no previous file with comments | « chrome/browser/chromeos/cros/network_library.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/status/network_menu.cc
===================================================================
--- chrome/browser/chromeos/status/network_menu.cc (revision 72190)
+++ chrome/browser/chromeos/status/network_menu.cc (working copy)
@@ -418,6 +418,9 @@
case CellularNetwork::DATA_NORMAL:
id = IDR_STATUSBAR_NETWORK_3G;
break;
+ case CellularNetwork::DATA_UNKNOWN:
+ id = IDR_STATUSBAR_NETWORK_3G_UNKNOWN;
+ break;
}
} else if (cellular->network_technology() == NETWORK_TECHNOLOGY_1XRTT) {
switch (cellular->GetDataLeft()) {
@@ -429,6 +432,9 @@
case CellularNetwork::DATA_NORMAL:
id = IDR_STATUSBAR_NETWORK_1X;
break;
+ case CellularNetwork::DATA_UNKNOWN:
+ id = IDR_STATUSBAR_NETWORK_1X_UNKNOWN;
+ break;
}
}
if (id == -1)
« no previous file with comments | « chrome/browser/chromeos/cros/network_library.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698