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

Unified Diff: chrome/browser/chromeos/cros/network_library.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
Index: chrome/browser/chromeos/cros/network_library.cc
===================================================================
--- chrome/browser/chromeos/cros/network_library.cc (revision 72190)
+++ chrome/browser/chromeos/cros/network_library.cc (working copy)
@@ -615,7 +615,7 @@
return DATA_NONE;
const CellularDataPlan* plan = GetSignificantDataPlan();
if (!plan)
- return DATA_NORMAL;
+ return DATA_UNKNOWN;
if (plan->plan_type == CELLULAR_DATA_PLAN_UNLIMITED) {
base::TimeDelta remaining = plan->remaining_time();
if (remaining <= base::TimeDelta::FromSeconds(0))

Powered by Google App Engine
This is Rietveld 408576698