Index: chrome/browser/ui/app_list/app_list_service.h |
diff --git a/chrome/browser/ui/app_list/app_list_service.h b/chrome/browser/ui/app_list/app_list_service.h |
index 60144f08f910406ef9ff44ae41ddb303dae37068..88c2d6c79d29d583f2279abdd41511b5f81f911e 100644 |
--- a/chrome/browser/ui/app_list/app_list_service.h |
+++ b/chrome/browser/ui/app_list/app_list_service.h |
@@ -17,6 +17,10 @@ class CommandLine; |
class PrefRegistrySimple; |
class Profile; |
+namespace app_list { |
+class AppListModel; |
+} |
+ |
namespace base { |
class FilePath; |
} |
@@ -80,6 +84,9 @@ class AppListService { |
// Exposed to allow testing of the controller delegate. |
virtual AppListControllerDelegate* CreateControllerDelegate() = 0; |
+ // Retrieve the model, for use in integration testing. |
+ virtual app_list::AppListModel* GetAppListModelForTesting() = 0; |
+ |
protected: |
AppListService() {} |
virtual ~AppListService() {} |