Chromium Code Reviews| Index: ui/app_list/test/app_list_test_view_delegate.h |
| diff --git a/ui/app_list/test/app_list_test_view_delegate.h b/ui/app_list/test/app_list_test_view_delegate.h |
| index 63ca23ff88f89be1f5c621d98a06a3d8a122efcc..7ba2058a8f27f3b8cd08cbbd6ea5c6f14ac459d8 100644 |
| --- a/ui/app_list/test/app_list_test_view_delegate.h |
| +++ b/ui/app_list/test/app_list_test_view_delegate.h |
| @@ -23,6 +23,10 @@ class AppListTestViewDelegate : public AppListViewDelegate { |
| test_signin_delegate_ = signin_delegate; |
| } |
| + void SetUsers(const Users& users) { |
| + users_ = users; |
| + } |
| + |
| // AppListViewDelegate overrides: |
| virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE {} |
| virtual void InitModel(AppListModel* model) OVERRIDE {} |
| @@ -46,10 +50,13 @@ class AppListTestViewDelegate : public AppListViewDelegate { |
| virtual void ShowForProfileByPath( |
| const base::FilePath& profile_path) OVERRIDE {}; |
| virtual content::WebContents* GetStartPageContents() OVERRIDE; |
| + virtual const Users& GetUsers() const OVERRIDE; |
| private: |
| int dismiss_count_; |
| + Users users_; |
| SigninDelegate* test_signin_delegate_; // Weak. Owned by test. |
| + |
|
xiyuan
2013/11/06 23:49:29
nit: add DISALLOW_COPY_AND_ASSIGN?
|
| }; |
| } // namespace test |