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

Side by Side Diff: chrome/browser/chromeos/net/network_connect_delegate_chromeos.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
OLDNEW
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 : public NetworkConnect::Delegate {
16 public: 19 public:
17 NetworkConnectDelegateChromeOS(); 20 NetworkConnectDelegateChromeOS();
18 ~NetworkConnectDelegateChromeOS() override; 21 ~NetworkConnectDelegateChromeOS() override;
19 22
20 void ShowNetworkConfigure(const std::string& network_id) override; 23 void ShowNetworkConfigure(const std::string& network_id) override;
21 void ShowNetworkSettings(const std::string& network_id) override; 24 void ShowNetworkSettings(const std::string& network_id) override;
22 bool ShowEnrollNetwork(const std::string& network_id) override; 25 bool ShowEnrollNetwork(const std::string& network_id) override;
23 void ShowMobileSimDialog() override; 26 void ShowMobileSimDialog() override;
24 void ShowMobileSetupDialog(const std::string& service_path) override; 27 void ShowMobileSetupDialog(const std::string& service_path) override;
28 void ShowNetworkConnectError(const std::string& error_name,
29 const std::string& network_id) override;
30 void ShowMobileActivationError(const std::string& network_id) override;
25 31
26 private: 32 private:
33 std::unique_ptr<NetworkStateNotifier> network_state_notifier_;
34
27 DISALLOW_COPY_AND_ASSIGN(NetworkConnectDelegateChromeOS); 35 DISALLOW_COPY_AND_ASSIGN(NetworkConnectDelegateChromeOS);
28 }; 36 };
29 37
30 } // namespace chromeos 38 } // namespace chromeos
31 39
32 #endif // CHROME_BROWSER_UI_ASH_NETWORK_CONNECT_DELEGATE_CHROMEOS_H_ 40 #endif // CHROME_BROWSER_CHROMEOS_NET_NETWORK_CONNECT_DELEGATE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/mobile/mobile_activator.cc ('k') | chrome/browser/chromeos/net/network_connect_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698