Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef ASH_MUS_NETWORK_CONNECT_DELEGATE_MUS_H_ | |
| 6 #define ASH_MUS_NETWORK_CONNECT_DELEGATE_MUS_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "ui/chromeos/network/network_connect.h" | |
| 10 | |
| 11 namespace ash { | |
| 12 namespace mus { | |
| 13 | |
| 14 // Routes requests to show network config UI over the mojom::SystemTrayClient | |
| 15 // interface. | |
| 16 // TODO(mash): Replace ui::NetworkConnect::Delegate with a client interface on | |
| 17 // a mojo NetworkConfig service. http://crbug.com/644355 | |
|
stevenjb
2016/10/14 20:08:26
This is a little different from what is so far dis
James Cook
2016/10/14 20:50:22
Yeah, it might. The issue is that the underlying n
stevenjb
2016/10/14 22:33:38
Maybe just for now word this something like like:
| |
| 18 class NetworkConnectDelegateMus : public ui::NetworkConnect::Delegate { | |
| 19 public: | |
| 20 NetworkConnectDelegateMus(); | |
| 21 ~NetworkConnectDelegateMus() override; | |
| 22 | |
| 23 // ui::NetworkConnect::Delegate: | |
| 24 void ShowNetworkConfigure(const std::string& service_path) override; | |
| 25 void ShowNetworkSettingsForGuid(const std::string& network_id) override; | |
|
stevenjb
2016/10/14 20:08:26
Ugh. I'd really kind of like to clean these up fir
James Cook
2016/10/14 20:50:22
Yeah. Frankly, I don't really know much about when
stevenjb
2016/10/14 22:33:38
service_path is the Shill name for the network. Th
| |
| 26 bool ShowEnrollNetwork(const std::string& network_id) override; | |
| 27 void ShowMobileSimDialog() override; | |
| 28 void ShowMobileSetupDialog(const std::string& service_path) override; | |
| 29 | |
| 30 private: | |
| 31 DISALLOW_COPY_AND_ASSIGN(NetworkConnectDelegateMus); | |
| 32 }; | |
| 33 | |
| 34 } // namespace mus | |
| 35 } // namespace ash | |
| 36 | |
| 37 #endif // ASH_MUS_NETWORK_CONNECT_DELEGATE_MUS_H_ | |
| OLD | NEW |