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

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

Issue 12779022: Add Ash notification UI for OutOfCredits network property (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add support for R26 Created 7 years, 9 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_constants.h ('k') | 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 757c27ca21c8dbf492fb516d8ffe14f21b7ef469..d5854d61ba641e7e332709c6acde1c3c2744fa26 100644
--- a/chrome/browser/chromeos/cros/network_library.h
+++ b/chrome/browser/chromeos/cros/network_library.h
@@ -888,6 +888,7 @@ class CellularNetwork : public WirelessNetwork {
const std::string& operator_name() const { return operator_name_; }
const std::string& operator_code() const { return operator_code_; }
const std::string& operator_country() const { return operator_country_; }
+ bool out_of_credits() const { return out_of_credits_; }
const std::string& payment_url() const { return payment_url_; }
const std::string& usage_url() const { return usage_url_; }
const std::string& post_data() const { return post_data_; }
@@ -955,6 +956,9 @@ class CellularNetwork : public WirelessNetwork {
void set_operator_country(const std::string& operator_country) {
operator_country_ = operator_country;
}
+ void set_out_of_credits(bool out_of_credits) {
+ out_of_credits_ = out_of_credits;
+ }
void set_payment_url(const std::string& payment_url) {
payment_url_ = payment_url;
}
@@ -971,6 +975,7 @@ class CellularNetwork : public WirelessNetwork {
}
bool activate_over_non_cellular_network_;
+ bool out_of_credits_;
ActivationState activation_state_;
NetworkTechnology network_technology_;
NetworkRoamingState roaming_state_;
« no previous file with comments | « chrome/browser/chromeos/cros/network_constants.h ('k') | chrome/browser/chromeos/cros/network_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698