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 |
59 // Called when a property for a watched network service has changed. | 62 // Called when a property for a watched network service has changed. |
60 virtual void UpdateNetworkServiceProperty( | 63 virtual void UpdateNetworkServiceProperty( |
61 const std::string& service_path, | 64 const std::string& service_path, |
62 const std::string& key, | 65 const std::string& key, |
63 const base::Value& value) = 0; | 66 const base::Value& value) = 0; |
64 | 67 |
65 // Called when a property for a watched device has changed. | 68 // Called when a property for a watched device has changed. |
66 virtual void UpdateDeviceProperty( | 69 virtual void UpdateDeviceProperty( |
67 const std::string& device_path, | 70 const std::string& device_path, |
68 const std::string& key, | 71 const std::string& key, |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 std::set<std::string> enabled_technologies_; | 185 std::set<std::string> enabled_technologies_; |
183 std::set<std::string> uninitialized_technologies_; | 186 std::set<std::string> uninitialized_technologies_; |
184 | 187 |
185 DISALLOW_COPY_AND_ASSIGN(ShillPropertyHandler); | 188 DISALLOW_COPY_AND_ASSIGN(ShillPropertyHandler); |
186 }; | 189 }; |
187 | 190 |
188 } // namespace internal | 191 } // namespace internal |
189 } // namespace chromeos | 192 } // namespace chromeos |
190 | 193 |
191 #endif // CHROMEOS_NETWORK_SHILL_PROPERTY_HANDLER_H_ | 194 #endif // CHROMEOS_NETWORK_SHILL_PROPERTY_HANDLER_H_ |
OLD | NEW |