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

Unified Diff: chromeos/network/managed_state.h

Issue 15233002: Add NetworkStateHandler::RequestUpdateForNetwork (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add request call for NetworkConfigurationHandler::CreateConfiguration Created 7 years, 7 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_library_impl_cros.cc ('k') | chromeos/network/managed_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/managed_state.h
diff --git a/chromeos/network/managed_state.h b/chromeos/network/managed_state.h
index 5dcaff2818a76cf50b38c2240e1dfa72cd3c8fe4..8fc198d61ab068764cab39fb9b0a0b708f702b67 100644
--- a/chromeos/network/managed_state.h
+++ b/chromeos/network/managed_state.h
@@ -57,6 +57,10 @@ class ManagedState {
const std::string& type() const { return type_; }
bool is_observed() const { return is_observed_; }
void set_is_observed(bool is_observed) { is_observed_ = is_observed; }
+ bool update_requested() const { return update_requested_; }
+ void set_update_requested(bool update_requested) {
+ update_requested_ = update_requested;
+ }
protected:
ManagedState(ManagedType type, const std::string& path);
@@ -94,6 +98,9 @@ class ManagedState {
// Tracks when the state is being observed.
bool is_observed_;
+ // Tracks when an update has been requested.
+ bool update_requested_;
+
DISALLOW_COPY_AND_ASSIGN(ManagedState);
};
« no previous file with comments | « chrome/browser/chromeos/cros/network_library_impl_cros.cc ('k') | chromeos/network/managed_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698