blob: dd23b96bccc62e37b06e5dc369db6c1323f70339 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/network_connect_delegate_mus.h"
#include "ash/shell.h"
#include "ash/system/tray/system_tray_controller.h"
#include "base/logging.h"
namespace ash {
NetworkConnectDelegateMus::NetworkConnectDelegateMus() {}
NetworkConnectDelegateMus::~NetworkConnectDelegateMus() {}
void NetworkConnectDelegateMus::ShowNetworkConfigure(
const std::string& network_id) {
Shell::Get()->system_tray_controller()->ShowNetworkConfigure(network_id);
}
void NetworkConnectDelegateMus::ShowNetworkSettings(
const std::string& network_id) {
Shell::Get()->system_tray_controller()->ShowNetworkSettings(network_id);
}
bool NetworkConnectDelegateMus::ShowEnrollNetwork(
const std::string& network_id) {
// TODO(mash): http://crbug.com/644355
NOTIMPLEMENTED_LOG_ONCE();
return false;
}
void NetworkConnectDelegateMus::ShowMobileSetupDialog(
const std::string& network_id) {
// TODO(mash): http://crbug.com/644355
NOTIMPLEMENTED_LOG_ONCE();
}
void NetworkConnectDelegateMus::ShowNetworkConnectError(
const std::string& error_name,
const std::string& network_id) {
// TODO(mash): http://crbug.com/644355
LOG(ERROR) << "Network Connect Error: " << error_name
<< " For: " << network_id;
}
void NetworkConnectDelegateMus::ShowMobileActivationError(
const std::string& network_id) {
// TODO(mash): http://crbug.com/644355
LOG(ERROR) << "Mobile Activation Error For: " << network_id;
}
} // namespace ash