1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_FACTORY_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_FACTORY_H_
8 #include "base/callback_forward.h"
9 #include "chrome/browser/ui/app_list/app_list.h"
15 class PaginationModel
;
18 // Factory for AppLists. Used to allow us to create fake app lists in tests.
19 class AppListFactory
{
21 virtual ~AppListFactory() {}
22 virtual AppList
* CreateAppList(Profile
* profile
,
23 AppListService
* service
,
24 const base::Closure
& on_should_dismiss
) = 0;
27 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_FACTORY_H_