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_NETWORK_STATE_HANDLER_H_ | 5 #ifndef CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_ |
6 #define CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_ | 6 #define CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 ManagedState::ManagedType type, | 165 ManagedState::ManagedType type, |
166 const std::string& path, | 166 const std::string& path, |
167 const base::DictionaryValue& properties) OVERRIDE; | 167 const base::DictionaryValue& properties) OVERRIDE; |
168 | 168 |
169 // Called by ShillPropertyHandler when a watched service property changes. | 169 // Called by ShillPropertyHandler when a watched service property changes. |
170 virtual void UpdateNetworkServiceProperty( | 170 virtual void UpdateNetworkServiceProperty( |
171 const std::string& service_path, | 171 const std::string& service_path, |
172 const std::string& key, | 172 const std::string& key, |
173 const base::Value& value) OVERRIDE; | 173 const base::Value& value) OVERRIDE; |
174 | 174 |
175 // Sets the IP Address for the network associated with |service_path|. | |
176 virtual void UpdateNetworkServiceIPAddress( | |
177 const std::string& service_path, | |
178 const std::string& ip_address) OVERRIDE; | |
179 | |
180 // Called by ShillPropertyHandler when a watched device property changes. | 175 // Called by ShillPropertyHandler when a watched device property changes. |
181 virtual void UpdateDeviceProperty( | 176 virtual void UpdateDeviceProperty( |
182 const std::string& device_path, | 177 const std::string& device_path, |
183 const std::string& key, | 178 const std::string& key, |
184 const base::Value& value) OVERRIDE; | 179 const base::Value& value) OVERRIDE; |
185 | 180 |
186 // Sends NetworkManagerChanged() to observers. | 181 // Sends NetworkManagerChanged() to observers. |
187 virtual void ManagerPropertyChanged() OVERRIDE; | 182 virtual void ManagerPropertyChanged() OVERRIDE; |
188 | 183 |
189 // Called by |shill_property_handler_| when the service or device list has | 184 // Called by |shill_property_handler_| when the service or device list has |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 // changes to something other than Connecting (after observers are notified). | 239 // changes to something other than Connecting (after observers are notified). |
245 // TODO(stevenjb): Move this to NetworkConfigurationHandler. | 240 // TODO(stevenjb): Move this to NetworkConfigurationHandler. |
246 std::string connecting_network_; | 241 std::string connecting_network_; |
247 | 242 |
248 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandler); | 243 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandler); |
249 }; | 244 }; |
250 | 245 |
251 } // namespace chromeos | 246 } // namespace chromeos |
252 | 247 |
253 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_ | 248 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_ |
OLD | NEW |