Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: chromeos/network/shill_property_handler.h

Issue 696583004: Add NetworkHandler support for WakeOnLanEnabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/network/network_state_handler.cc ('k') | chromeos/network/shill_property_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chromeos/network/network_state_handler.cc ('k') | chromeos/network/shill_property_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698