Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: ash/mus/network_connect_delegate_mus.h

Issue 2434683003: Move NetworkStateNotifier and NetworkConnect from src/ui (Closed)
Patch Set: Fix virtuals Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/common/system/system_notifier.cc ('k') | ash/mus/network_connect_delegate_mus.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef ASH_MUS_NETWORK_CONNECT_DELEGATE_MUS_H_ 5 #ifndef ASH_MUS_NETWORK_CONNECT_DELEGATE_MUS_H_
6 #define ASH_MUS_NETWORK_CONNECT_DELEGATE_MUS_H_ 6 #define ASH_MUS_NETWORK_CONNECT_DELEGATE_MUS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/chromeos/network/network_connect.h" 9 #include "chromeos/network/network_connect.h"
10 10
11 namespace ash { 11 namespace ash {
12 namespace mus { 12 namespace mus {
13 13
14 // Routes requests to show network config UI over the mojom::SystemTrayClient 14 // Routes requests to show network config UI over the mojom::SystemTrayClient
15 // interface. 15 // interface.
16 // TODO(mash): Replace ui::NetworkConnect::Delegate with a client interface on 16 // TODO(mash): Replace NetworkConnect::Delegate with a client interface on
17 // a mojo NetworkConfig service. http://crbug.com/644355 17 // a mojo NetworkConfig service. http://crbug.com/644355
18 class NetworkConnectDelegateMus : public ui::NetworkConnect::Delegate { 18 class NetworkConnectDelegateMus : public chromeos::NetworkConnect::Delegate {
19 public: 19 public:
20 NetworkConnectDelegateMus(); 20 NetworkConnectDelegateMus();
21 ~NetworkConnectDelegateMus() override; 21 ~NetworkConnectDelegateMus() override;
22 22
23 // ui::NetworkConnect::Delegate: 23 // chromeos::NetworkConnect::Delegate:
24 void ShowNetworkConfigure(const std::string& network_id) override; 24 void ShowNetworkConfigure(const std::string& network_id) override;
25 void ShowNetworkSettings(const std::string& network_id) override; 25 void ShowNetworkSettings(const std::string& network_id) override;
26 bool ShowEnrollNetwork(const std::string& network_id) override; 26 bool ShowEnrollNetwork(const std::string& network_id) override;
27 void ShowMobileSimDialog() override; 27 void ShowMobileSimDialog() override;
28 void ShowMobileSetupDialog(const std::string& network_id) override; 28 void ShowMobileSetupDialog(const std::string& network_id) override;
29 void ShowNetworkConnectError(const std::string& error_name,
30 const std::string& network_id) override;
31 void ShowMobileActivationError(const std::string& network_id) override;
29 32
30 private: 33 private:
31 DISALLOW_COPY_AND_ASSIGN(NetworkConnectDelegateMus); 34 DISALLOW_COPY_AND_ASSIGN(NetworkConnectDelegateMus);
32 }; 35 };
33 36
34 } // namespace mus 37 } // namespace mus
35 } // namespace ash 38 } // namespace ash
36 39
37 #endif // ASH_MUS_NETWORK_CONNECT_DELEGATE_MUS_H_ 40 #endif // ASH_MUS_NETWORK_CONNECT_DELEGATE_MUS_H_
OLDNEW
« no previous file with comments | « ash/common/system/system_notifier.cc ('k') | ash/mus/network_connect_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698