blob: 01f044e48a02c503e74808a35c37e551effd8e94 [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/mus/network_connect_delegate_mus.h"
#include "ash/shell.h"
#include "ash/system/tray/system_tray_controller.h"
#include "base/logging.h"
namespace ash {
namespace mus {
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();
return false;
}
void NetworkConnectDelegateMus::ShowMobileSimDialog() {
// TODO(mash): http://crbug.com/644355
NOTIMPLEMENTED();
}
void NetworkConnectDelegateMus::ShowMobileSetupDialog(
const std::string& network_id) {
// TODO(mash): http://crbug.com/644355
NOTIMPLEMENTED();
}
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 mus
} // namespace ash