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

Unified Diff: chromeos/network/managed_state.cc

Issue 15233002: Add NetworkStateHandler::RequestUpdateForNetwork (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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
Index: chromeos/network/managed_state.cc
diff --git a/chromeos/network/managed_state.cc b/chromeos/network/managed_state.cc
index a4b8de5f91d9d0c4f040d27868680d5d1fcb74cc..552613b1ca797dc86fb6e476de4e5433c0bbfad3 100644
--- a/chromeos/network/managed_state.cc
+++ b/chromeos/network/managed_state.cc
@@ -15,14 +15,15 @@ namespace chromeos {
ManagedState::ManagedState(ManagedType type, const std::string& path)
: managed_type_(type),
path_(path),
- is_observed_(false) {
+ is_observed_(false),
+ update_requested_(false) {
}
ManagedState::~ManagedState() {
}
ManagedState* ManagedState::Create(ManagedType type, const std::string& path) {
- switch(type) {
+ switch (type) {
case MANAGED_TYPE_NETWORK:
return new NetworkState(path);
case MANAGED_TYPE_DEVICE:

Powered by Google App Engine
This is Rietveld 408576698