OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROMEOS_NETWORK_MANAGED_STATE_H_ | 5 #ifndef CHROMEOS_NETWORK_MANAGED_STATE_H_ |
6 #define CHROMEOS_NETWORK_MANAGED_STATE_H_ | 6 #define CHROMEOS_NETWORK_MANAGED_STATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 103 |
104 private: | 104 private: |
105 friend class NetworkChangeNotifierChromeosUpdateTest; | 105 friend class NetworkChangeNotifierChromeosUpdateTest; |
106 | 106 |
107 ManagedType managed_type_; | 107 ManagedType managed_type_; |
108 | 108 |
109 // The path (e.g. service path or device path) of the managed state object. | 109 // The path (e.g. service path or device path) of the managed state object. |
110 std::string path_; | 110 std::string path_; |
111 | 111 |
112 // Common properties shared by all managed state objects. | 112 // Common properties shared by all managed state objects. |
113 std::string name_; // flimflam::kNameProperty | 113 std::string name_; // shill::kNameProperty |
114 std::string type_; // flimflam::kTypeProperty | 114 std::string type_; // shill::kTypeProperty |
115 | 115 |
116 // Set to true when the an update has been received. | 116 // Set to true when the an update has been received. |
117 bool update_received_; | 117 bool update_received_; |
118 | 118 |
119 // Tracks when an update has been requested. | 119 // Tracks when an update has been requested. |
120 bool update_requested_; | 120 bool update_requested_; |
121 | 121 |
122 DISALLOW_COPY_AND_ASSIGN(ManagedState); | 122 DISALLOW_COPY_AND_ASSIGN(ManagedState); |
123 }; | 123 }; |
124 | 124 |
125 } // namespace chromeos | 125 } // namespace chromeos |
126 | 126 |
127 #endif // CHROMEOS_NETWORK_MANAGED_STATE_H_ | 127 #endif // CHROMEOS_NETWORK_MANAGED_STATE_H_ |
OLD | NEW |