forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetwork_connect_delegate_mus.cc
56 lines (44 loc) · 1.63 KB
/
network_connect_delegate_mus.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// 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/model/system_tray_model.h"
#include "base/logging.h"
namespace ash {
NetworkConnectDelegateMus::NetworkConnectDelegateMus() = default;
NetworkConnectDelegateMus::~NetworkConnectDelegateMus() = default;
void NetworkConnectDelegateMus::ShowNetworkConfigure(
const std::string& network_id) {
Shell::Get()->system_tray_model()->client_ptr()->ShowNetworkConfigure(
network_id);
}
void NetworkConnectDelegateMus::ShowNetworkSettings(
const std::string& network_id) {
Shell::Get()->system_tray_model()->client_ptr()->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