| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SYSTEM_CHROMEOS_NETWORK_NETWORK_CONNECT_H | 5 #ifndef UI_CHROMEOS_NETWORK_NETWORK_CONNECT_H |
| 6 #define ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_CONNECT_H | 6 #define UI_CHROMEOS_NETWORK_NETWORK_CONNECT_H |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | |
| 11 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "ui/chromeos/ui_chromeos_export.h" |
| 12 | 12 |
| 13 namespace base { | 13 namespace base { |
| 14 class DictionaryValue; | 14 class DictionaryValue; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace chromeos { | 17 namespace chromeos { |
| 18 class NetworkTypePattern; | 18 class NetworkTypePattern; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace ash { | 21 namespace ui { |
| 22 | 22 |
| 23 class ASH_EXPORT NetworkConnect { | 23 class UI_CHROMEOS_EXPORT NetworkConnect { |
| 24 public: | 24 public: |
| 25 class Delegate { | 25 class Delegate { |
| 26 public: | 26 public: |
| 27 // Shows UI to configure or activate the network specified by |network_id|, | 27 // Shows UI to configure or activate the network specified by |network_id|, |
| 28 // which may include showing Payment or Portal UI when appropriate. | 28 // which may include showing Payment or Portal UI when appropriate. |
| 29 virtual void ShowNetworkConfigure(const std::string& network_id) = 0; | 29 virtual void ShowNetworkConfigure(const std::string& network_id) = 0; |
| 30 | 30 |
| 31 // Shows the settings related to network. If |network_id| is not empty, | 31 // Shows the settings related to network. If |network_id| is not empty, |
| 32 // show the settings for that network. | 32 // show the settings for that network. |
| 33 virtual void ShowNetworkSettings(const std::string& network_id) = 0; | 33 virtual void ShowNetworkSettings(const std::string& network_id) = 0; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 // or no matching network exists, shows the general internet settings page. | 103 // or no matching network exists, shows the general internet settings page. |
| 104 virtual void ShowNetworkSettings(const std::string& service_path) = 0; | 104 virtual void ShowNetworkSettings(const std::string& service_path) = 0; |
| 105 | 105 |
| 106 protected: | 106 protected: |
| 107 NetworkConnect(); | 107 NetworkConnect(); |
| 108 | 108 |
| 109 private: | 109 private: |
| 110 DISALLOW_COPY_AND_ASSIGN(NetworkConnect); | 110 DISALLOW_COPY_AND_ASSIGN(NetworkConnect); |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 } // ash | 113 } // ui |
| 114 | 114 |
| 115 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_CONNECT_H | 115 #endif // UI_CHROMEOS_NETWORK_NETWORK_CONNECT_H |
| OLD | NEW |