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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 // Asynchronously sets the enabled state for |technology|. | 118 // Asynchronously sets the enabled state for |technology|. |
119 // Note: Modifies Manager state. Calls |error_callback| on failure. | 119 // Note: Modifies Manager state. Calls |error_callback| on failure. |
120 void SetTechnologyEnabled( | 120 void SetTechnologyEnabled( |
121 const std::string& technology, | 121 const std::string& technology, |
122 bool enabled, | 122 bool enabled, |
123 const network_handler::ErrorCallback& error_callback); | 123 const network_handler::ErrorCallback& error_callback); |
124 | 124 |
125 // Sets the list of devices on which portal check is enabled. | 125 // Sets the list of devices on which portal check is enabled. |
126 void SetCheckPortalList(const std::string& check_portal_list); | 126 void SetCheckPortalList(const std::string& check_portal_list); |
127 | 127 |
| 128 // Sets the Manager.WakeOnLan property. Note: we do not track this state, we |
| 129 // only set it. |
| 130 void SetWakeOnLanEnabled(bool enabled); |
| 131 |
128 // Requests an immediate network scan. | 132 // Requests an immediate network scan. |
129 void RequestScan() const; | 133 void RequestScan() const; |
130 | 134 |
131 // Calls Manager.ConnectToBestServices(). | 135 // Calls Manager.ConnectToBestServices(). |
132 void ConnectToBestServices() const; | 136 void ConnectToBestServices() const; |
133 | 137 |
134 // Requests all properties for the service or device (called for new items). | 138 // Requests all properties for the service or device (called for new items). |
135 void RequestProperties(ManagedState::ManagedType type, | 139 void RequestProperties(ManagedState::ManagedType type, |
136 const std::string& path); | 140 const std::string& path); |
137 | 141 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 std::set<std::string> enabling_technologies_; | 242 std::set<std::string> enabling_technologies_; |
239 std::set<std::string> uninitialized_technologies_; | 243 std::set<std::string> uninitialized_technologies_; |
240 | 244 |
241 DISALLOW_COPY_AND_ASSIGN(ShillPropertyHandler); | 245 DISALLOW_COPY_AND_ASSIGN(ShillPropertyHandler); |
242 }; | 246 }; |
243 | 247 |
244 } // namespace internal | 248 } // namespace internal |
245 } // namespace chromeos | 249 } // namespace chromeos |
246 | 250 |
247 #endif // CHROMEOS_NETWORK_SHILL_PROPERTY_HANDLER_H_ | 251 #endif // CHROMEOS_NETWORK_SHILL_PROPERTY_HANDLER_H_ |
OLD | NEW |