| 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_SHILL_PROPERTY_HANDLER_H_ | 5 #ifndef CHROMEOS_NETWORK_SHILL_PROPERTY_HANDLER_H_ |
| 6 #define CHROMEOS_NETWORK_SHILL_PROPERTY_HANDLER_H_ | 6 #define CHROMEOS_NETWORK_SHILL_PROPERTY_HANDLER_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 // Called when the entries in a managed list have changed. | 49 // Called when the entries in a managed list have changed. |
| 50 virtual void UpdateManagedList(ManagedState::ManagedType type, | 50 virtual void UpdateManagedList(ManagedState::ManagedType type, |
| 51 const base::ListValue& entries) = 0; | 51 const base::ListValue& entries) = 0; |
| 52 | 52 |
| 53 // Called when the properties for a managed state have changed. | 53 // Called when the properties for a managed state have changed. |
| 54 virtual void UpdateManagedStateProperties( | 54 virtual void UpdateManagedStateProperties( |
| 55 ManagedState::ManagedType type, | 55 ManagedState::ManagedType type, |
| 56 const std::string& path, | 56 const std::string& path, |
| 57 const base::DictionaryValue& properties) = 0; | 57 const base::DictionaryValue& properties) = 0; |
| 58 | 58 |
| 59 // Called when the list of profiles changes. | |
| 60 virtual void ProfileListChanged() = 0; | |
| 61 | |
| 62 // Called when a property for a watched network service has changed. | 59 // Called when a property for a watched network service has changed. |
| 63 virtual void UpdateNetworkServiceProperty( | 60 virtual void UpdateNetworkServiceProperty( |
| 64 const std::string& service_path, | 61 const std::string& service_path, |
| 65 const std::string& key, | 62 const std::string& key, |
| 66 const base::Value& value) = 0; | 63 const base::Value& value) = 0; |
| 67 | 64 |
| 68 // Called when a property for a watched device has changed. | 65 // Called when a property for a watched device has changed. |
| 69 virtual void UpdateDeviceProperty( | 66 virtual void UpdateDeviceProperty( |
| 70 const std::string& device_path, | 67 const std::string& device_path, |
| 71 const std::string& key, | 68 const std::string& key, |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 std::set<std::string> enabled_technologies_; | 182 std::set<std::string> enabled_technologies_; |
| 186 std::set<std::string> uninitialized_technologies_; | 183 std::set<std::string> uninitialized_technologies_; |
| 187 | 184 |
| 188 DISALLOW_COPY_AND_ASSIGN(ShillPropertyHandler); | 185 DISALLOW_COPY_AND_ASSIGN(ShillPropertyHandler); |
| 189 }; | 186 }; |
| 190 | 187 |
| 191 } // namespace internal | 188 } // namespace internal |
| 192 } // namespace chromeos | 189 } // namespace chromeos |
| 193 | 190 |
| 194 #endif // CHROMEOS_NETWORK_SHILL_PROPERTY_HANDLER_H_ | 191 #endif // CHROMEOS_NETWORK_SHILL_PROPERTY_HANDLER_H_ |
| OLD | NEW |