Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chromeos / network / network_state_handler.cc
index a78b6ee..eae90b3 100644 (file)
@@ -378,6 +378,12 @@ void NetworkStateHandler::SetCheckPortalList(
   shill_property_handler_->SetCheckPortalList(check_portal_list);
 }
 
+void NetworkStateHandler::SetWakeOnLanEnabled(bool enabled) {
+  NET_LOG_EVENT("SetWakeOnLanEnabled",
+                base::StringPrintf("%s", enabled ? "true" : "false"));
+  shill_property_handler_->SetWakeOnLanEnabled(enabled);
+}
+
 const NetworkState* NetworkStateHandler::GetEAPForEthernet(
     const std::string& service_path) {
   const NetworkState* network = GetNetworkState(service_path);