| Index: chrome/browser/ui/ash/app_list/app_list_service_ash.cc
|
| diff --git a/chrome/browser/ui/ash/app_list/app_list_service_ash.cc b/chrome/browser/ui/ash/app_list/app_list_service_ash.cc
|
| index 232e1b1549b32bd5498c655dc1154a3fb7b6ee98..e5414cb1af6a3f294b2f4f6b90ee8c69d1c99bac 100644
|
| --- a/chrome/browser/ui/ash/app_list/app_list_service_ash.cc
|
| +++ b/chrome/browser/ui/ash/app_list/app_list_service_ash.cc
|
| @@ -11,6 +11,7 @@
|
| #include "chrome/browser/ui/app_list/app_list_service_impl.h"
|
| #include "chrome/browser/ui/ash/app_list/app_list_controller_ash.h"
|
| #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
|
| +#include "ui/app_list/views/app_list_view.h"
|
|
|
| namespace {
|
|
|
| @@ -36,6 +37,7 @@ class AppListServiceAsh : public AppListServiceImpl {
|
| virtual void EnableAppList(Profile* initial_profile) OVERRIDE;
|
| virtual gfx::NativeWindow GetAppListWindow() OVERRIDE;
|
| virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE;
|
| + virtual app_list::AppListModel* GetAppListModelForTesting() OVERRIDE;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(AppListServiceAsh);
|
| };
|
| @@ -76,6 +78,10 @@ AppListControllerDelegate* AppListServiceAsh::CreateControllerDelegate() {
|
| return new AppListControllerDelegateAsh();
|
| }
|
|
|
| +app_list::AppListModel* AppListServiceAsh::GetAppListModelForTesting() {
|
| + return ash::Shell::GetInstance()->GetAppListViewForTesting()->model();
|
| +}
|
| +
|
| } // namespace
|
|
|
| namespace chrome {
|
|
|