| Index: ash/system/chromeos/network/network_state_list_detailed_view.h
|
| diff --git a/ash/system/chromeos/network/network_state_list_detailed_view.h b/ash/system/chromeos/network/network_state_list_detailed_view.h
|
| index 212f699afc046cd61ffdebf460c52a2cc3a2f704..0061f4f39e84ff012a1cc9971433ae4acc4c023b 100644
|
| --- a/ash/system/chromeos/network/network_state_list_detailed_view.h
|
| +++ b/ash/system/chromeos/network/network_state_list_detailed_view.h
|
| @@ -15,6 +15,7 @@
|
| #include "ash/system/tray/view_click_listener.h"
|
| #include "ash/system/user/login_status.h"
|
| #include "base/memory/scoped_vector.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "ui/views/controls/button/button.h"
|
|
|
| namespace chromeos {
|
| @@ -38,10 +39,12 @@ namespace tray {
|
|
|
| struct NetworkInfo;
|
|
|
| -class NetworkStateListDetailedView : public NetworkDetailedView,
|
| - public views::ButtonListener,
|
| - public ViewClickListener,
|
| - public network_icon::AnimationObserver {
|
| +class NetworkStateListDetailedView
|
| + : public NetworkDetailedView,
|
| + public views::ButtonListener,
|
| + public ViewClickListener,
|
| + public network_icon::AnimationObserver,
|
| + public base::SupportsWeakPtr<NetworkStateListDetailedView> {
|
| public:
|
| enum ListType {
|
| LIST_TYPE_NETWORK,
|
| @@ -104,9 +107,12 @@ class NetworkStateListDetailedView : public NetworkDetailedView,
|
| bool ResetInfoBubble();
|
| views::View* CreateNetworkInfoView();
|
|
|
| - // Handle click (connect) action
|
| + // Handle click (connect) action.
|
| void ConnectToNetwork(const std::string& service_path);
|
|
|
| + // Periodically request a network scan.
|
| + void CallRequestScan();
|
| +
|
| // Type of list (all networks or vpn)
|
| ListType list_type_;
|
|
|
|
|