OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ash/mus/network_connect_delegate_mus.h" | 5 #include "ash/mus/network_connect_delegate_mus.h" |
6 | 6 |
7 #include "ash/common/system/tray/system_tray_controller.h" | 7 #include "ash/common/system/tray/system_tray_controller.h" |
8 #include "ash/common/wm_shell.h" | 8 #include "ash/common/wm_shell.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 namespace mus { | 12 namespace mus { |
13 | 13 |
14 NetworkConnectDelegateMus::NetworkConnectDelegateMus() {} | 14 NetworkConnectDelegateMus::NetworkConnectDelegateMus() {} |
15 | 15 |
16 NetworkConnectDelegateMus::~NetworkConnectDelegateMus() {} | 16 NetworkConnectDelegateMus::~NetworkConnectDelegateMus() {} |
17 | 17 |
18 void NetworkConnectDelegateMus::ShowNetworkConfigure( | 18 void NetworkConnectDelegateMus::ShowNetworkConfigure( |
19 const std::string& service_path) { | 19 const std::string& network_id) { |
20 WmShell::Get()->system_tray_controller()->ShowNetworkConfigure(service_path); | 20 WmShell::Get()->system_tray_controller()->ShowNetworkConfigure(network_id); |
21 } | 21 } |
22 | 22 |
23 void NetworkConnectDelegateMus::ShowNetworkSettingsForGuid( | 23 void NetworkConnectDelegateMus::ShowNetworkSettings( |
24 const std::string& network_id) { | 24 const std::string& network_id) { |
25 WmShell::Get()->system_tray_controller()->ShowNetworkSettings(network_id); | 25 WmShell::Get()->system_tray_controller()->ShowNetworkSettings(network_id); |
26 } | 26 } |
27 | 27 |
28 bool NetworkConnectDelegateMus::ShowEnrollNetwork( | 28 bool NetworkConnectDelegateMus::ShowEnrollNetwork( |
29 const std::string& network_id) { | 29 const std::string& network_id) { |
30 // TODO(mash): http://crbug.com/644355 | 30 // TODO(mash): http://crbug.com/644355 |
31 NOTIMPLEMENTED(); | 31 NOTIMPLEMENTED(); |
32 return false; | 32 return false; |
33 } | 33 } |
34 | 34 |
35 void NetworkConnectDelegateMus::ShowMobileSimDialog() { | 35 void NetworkConnectDelegateMus::ShowMobileSimDialog() { |
36 // TODO(mash): http://crbug.com/644355 | 36 // TODO(mash): http://crbug.com/644355 |
37 NOTIMPLEMENTED(); | 37 NOTIMPLEMENTED(); |
38 } | 38 } |
39 | 39 |
40 void NetworkConnectDelegateMus::ShowMobileSetupDialog( | 40 void NetworkConnectDelegateMus::ShowMobileSetupDialog( |
41 const std::string& service_path) { | 41 const std::string& network_id) { |
42 // TODO(mash): http://crbug.com/644355 | 42 // TODO(mash): http://crbug.com/644355 |
43 NOTIMPLEMENTED(); | 43 NOTIMPLEMENTED(); |
44 } | 44 } |
45 | 45 |
46 } // namespace mus | 46 } // namespace mus |
47 } // namespace ash | 47 } // namespace ash |
OLD | NEW |