Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_UI_ASH_NETWORK_CONNECT_DELEGATE_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_NET_NETWORK_CONNECT_DELEGATE_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_NETWORK_CONNECT_DELEGATE_CHROMEOS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_NET_NETWORK_CONNECT_DELEGATE_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include <memory> | |
| 8 #include <string> | 9 #include <string> |
| 9 | 10 |
| 10 #include "base/macros.h" | 11 #include "base/macros.h" |
| 11 #include "ui/chromeos/network/network_connect.h" | 12 #include "chromeos/network/network_connect.h" |
| 12 | 13 |
| 13 namespace chromeos { | 14 namespace chromeos { |
| 14 | 15 |
| 15 class NetworkConnectDelegateChromeOS : public ui::NetworkConnect::Delegate { | 16 class NetworkStateNotifier; |
| 17 | |
| 18 class NetworkConnectDelegateChromeOS | |
| 19 : public chromeos::NetworkConnect::Delegate { | |
|
James Cook
2016/10/20 00:11:43
nit: chromeos:: not needed
stevenjb
2016/10/20 00:57:23
Done.
| |
| 16 public: | 20 public: |
| 17 NetworkConnectDelegateChromeOS(); | 21 NetworkConnectDelegateChromeOS(); |
| 18 ~NetworkConnectDelegateChromeOS() override; | 22 ~NetworkConnectDelegateChromeOS() override; |
| 19 | 23 |
| 20 void ShowNetworkConfigure(const std::string& network_id) override; | 24 void ShowNetworkConfigure(const std::string& network_id) override; |
| 21 void ShowNetworkSettings(const std::string& network_id) override; | 25 void ShowNetworkSettings(const std::string& network_id) override; |
| 22 bool ShowEnrollNetwork(const std::string& network_id) override; | 26 bool ShowEnrollNetwork(const std::string& network_id) override; |
| 23 void ShowMobileSimDialog() override; | 27 void ShowMobileSimDialog() override; |
| 24 void ShowMobileSetupDialog(const std::string& service_path) override; | 28 void ShowMobileSetupDialog(const std::string& service_path) 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; | |
| 25 | 32 |
| 26 private: | 33 private: |
| 34 std::unique_ptr<NetworkStateNotifier> network_state_notifier_; | |
| 35 | |
| 27 DISALLOW_COPY_AND_ASSIGN(NetworkConnectDelegateChromeOS); | 36 DISALLOW_COPY_AND_ASSIGN(NetworkConnectDelegateChromeOS); |
| 28 }; | 37 }; |
| 29 | 38 |
| 30 } // namespace chromeos | 39 } // namespace chromeos |
| 31 | 40 |
| 32 #endif // CHROME_BROWSER_UI_ASH_NETWORK_CONNECT_DELEGATE_CHROMEOS_H_ | 41 #endif // CHROME_BROWSER_CHROMEOS_NET_NETWORK_CONNECT_DELEGATE_CHROMEOS_H_ |
| OLD | NEW |