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

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: 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
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..e6dfef73af0db6f8bc5024f22561e92f872b4ea6 100644
--- a/chrome/browser/chromeos/cros/network_library.h
+++ b/chrome/browser/chromeos/cros/network_library.h
@@ -627,6 +627,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') | chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698