Chromium Code Reviews| Index: ash/mus/network_connect_delegate_mus.h |
| diff --git a/ash/mus/network_connect_delegate_mus.h b/ash/mus/network_connect_delegate_mus.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1cd5a2786a19b964080b61d40b78440a24ee1c97 |
| --- /dev/null |
| +++ b/ash/mus/network_connect_delegate_mus.h |
| @@ -0,0 +1,37 @@ |
| +// 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. |
| + |
| +#ifndef ASH_MUS_NETWORK_CONNECT_DELEGATE_MUS_H_ |
| +#define ASH_MUS_NETWORK_CONNECT_DELEGATE_MUS_H_ |
| + |
| +#include "base/macros.h" |
| +#include "ui/chromeos/network/network_connect.h" |
| + |
| +namespace ash { |
| +namespace mus { |
| + |
| +// Routes requests to show network config UI over the mojom::SystemTrayClient |
| +// interface. |
| +// TODO(mash): Replace ui::NetworkConnect::Delegate with a client interface on |
| +// 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:
|
| +class NetworkConnectDelegateMus : public ui::NetworkConnect::Delegate { |
| + public: |
| + NetworkConnectDelegateMus(); |
| + ~NetworkConnectDelegateMus() override; |
| + |
| + // ui::NetworkConnect::Delegate: |
| + void ShowNetworkConfigure(const std::string& service_path) override; |
| + 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
|
| + bool ShowEnrollNetwork(const std::string& network_id) override; |
| + void ShowMobileSimDialog() override; |
| + void ShowMobileSetupDialog(const std::string& service_path) override; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(NetworkConnectDelegateMus); |
| +}; |
| + |
| +} // namespace mus |
| +} // namespace ash |
| + |
| +#endif // ASH_MUS_NETWORK_CONNECT_DELEGATE_MUS_H_ |