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

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

Issue 7313005: [cros] Hide chrome://mobilesetup content on non-supported networks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review 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 | chrome/browser/chromeos/cros/network_library.cc » ('j') | 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 5436bf06272ef1c02171e10bdc9d5d861916ce06..eddc47ed64a9b3f24b7cd07b9c1a022ee4af1701 100644
--- a/chrome/browser/chromeos/cros/network_library.h
+++ b/chrome/browser/chromeos/cros/network_library.h
@@ -629,6 +629,12 @@ class CellularNetwork : public WirelessNetwork {
const Apn& apn() const { return apn_; }
const Apn& last_good_apn() const { return last_good_apn_; }
void SetApn(const Apn& apn);
+
+ // Returns true if network supports activation.
+ // Current implementation returns same as SupportsDataPlan().
+ bool SupportsActivation() const;
+
+ // Returns true if one of the usage_url_ / payment_url_ (or both) is defined.
bool SupportsDataPlan() const;
// Misc.
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/network_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698