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

Unified Diff: chrome/browser/chromeos/cros/network_library.h

Issue 7314001: [cros] Return needs_new_plan() = true only if data plan is supported. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/network_library.h
diff --git a/chrome/browser/chromeos/cros/network_library.h b/chrome/browser/chromeos/cros/network_library.h
index 5b8b2cd16dd2b89de98223f59bd574c203c51963..7c82706e8649985d0b5eca3dd2bbf5dfafee8227 100644
--- a/chrome/browser/chromeos/cros/network_library.h
+++ b/chrome/browser/chromeos/cros/network_library.h
@@ -616,7 +616,8 @@ class CellularNetwork : public WirelessNetwork {
return state_ == STATE_PORTAL;
}
bool needs_new_plan() const {
- return restricted_pool() && connected() && activated();
+ return SupportsDataPlan() && restricted_pool()
+ && connected() && activated();
}
const std::string& operator_name() const { return operator_name_; }
const std::string& operator_code() const { return operator_code_; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698