Index: ash/system/tray/system_tray_delegate.h |
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h |
index 6c76b57966e1551f91725b593fa16b66558950c0..d6f3c3dbe493d3465202b8a49677a0f90ebb19f2 100644 |
--- a/ash/system/tray/system_tray_delegate.h |
+++ b/ash/system/tray/system_tray_delegate.h |
@@ -15,6 +15,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
#include "ui/gfx/image/image_skia.h" |
+#include "ui/gfx/native_widget_types.h" |
namespace base { |
class TimeDelta; |
@@ -251,8 +252,11 @@ class SystemTrayDelegate { |
// Shows UI to configure or activate the network specified by |network_id|. |
virtual void ConfigureNetwork(const std::string& network_id) = 0; |
- // Sends a connect request for the network specified by |network_id|. |
- virtual void ConnectToNetwork(const std::string& network_id) = 0; |
+ // Shows UI to enroll the network specified by |network_id| if appropriate, |
+ // otherwise behaves the same as ConfigureNetwork. |parent_window| is used |
+ // to parent any configuration UI. If NULL a default window will be used. |
+ virtual void EnrollOrConfigureNetwork(const std::string& network_id, |
+ gfx::NativeWindow parent_window) = 0; |
// Shows UI to manage bluetooth devices. |
virtual void ManageBluetoothDevices() = 0; |
@@ -263,6 +267,9 @@ class SystemTrayDelegate { |
// Shows UI to unlock a mobile sim. |
virtual void ShowMobileSimDialog() = 0; |
+ // Shows UI to setup a mobile network. |
+ virtual void ShowMobileSetup(const std::string& network_id) = 0; |
+ |
// Shows UI to connect to an unlisted wifi network. |
virtual void ShowOtherWifi() = 0; |