Index: ash/common/system/chromeos/network/network_list_view_base.h |
diff --git a/ash/common/system/chromeos/network/network_list_view_base.h b/ash/common/system/chromeos/network/network_list_view_base.h |
index c0db970b63ee67748a0894a03757db4c80d8985f..232c12f62f4a2a2e811bbc98dc4597077b140f48 100644 |
--- a/ash/common/system/chromeos/network/network_list_view_base.h |
+++ b/ash/common/system/chromeos/network/network_list_view_base.h |
@@ -7,6 +7,7 @@ |
#include <string> |
+#include "ash/common/system/tray/header_list_scroll_view.h" |
#include "base/macros.h" |
namespace views { |
@@ -22,7 +23,9 @@ class NetworkListViewBase { |
NetworkListViewBase(); |
virtual ~NetworkListViewBase(); |
- void set_container(views::View* container) { container_ = container; } |
+ void set_container(HeaderListScrollView* container) { |
+ container_ = container; |
+ } |
// Refreshes the network list. |
virtual void Update() = 0; |
@@ -34,11 +37,11 @@ class NetworkListViewBase { |
std::string* service_path) const = 0; |
protected: |
- views::View* container() { return container_; } |
+ HeaderListScrollView* container() { return container_; } |
private: |
// The container that holds the actual list entries. |
- views::View* container_ = nullptr; |
+ HeaderListScrollView* container_ = nullptr; |
DISALLOW_COPY_AND_ASSIGN(NetworkListViewBase); |
}; |