| Index: chromeos/network/shill_property_handler.cc
|
| diff --git a/chromeos/network/shill_property_handler.cc b/chromeos/network/shill_property_handler.cc
|
| index f603f52c64f6c72654e755d8a8e2203c16990459..5e3b6fcb9dfcaa75a0a67bed696ed6ca36714a30 100644
|
| --- a/chromeos/network/shill_property_handler.cc
|
| +++ b/chromeos/network/shill_property_handler.cc
|
| @@ -182,7 +182,20 @@ void ShillPropertyHandler::SetCheckPortalList(
|
| base::Bind(&base::DoNothing),
|
| base::Bind(&network_handler::ShillErrorCallbackFunction,
|
| "SetCheckPortalList Failed",
|
| - "", network_handler::ErrorCallback()));
|
| + "Manager",
|
| + network_handler::ErrorCallback()));
|
| +}
|
| +
|
| +void ShillPropertyHandler::SetWakeOnLanEnabled(bool enabled) {
|
| + base::FundamentalValue value(enabled);
|
| + shill_manager_->SetProperty(
|
| + shill::kWakeOnLanEnabledProperty,
|
| + value,
|
| + base::Bind(&base::DoNothing),
|
| + base::Bind(&network_handler::ShillErrorCallbackFunction,
|
| + "SetWakeOnLanEnabled Failed",
|
| + "Manager",
|
| + network_handler::ErrorCallback()));
|
| }
|
|
|
| void ShillPropertyHandler::RequestScan() const {
|
|
|