Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / app_list / app_list_factory.h
blob5f86559a608352e4ae3275957325b7493af53f72
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"
11 class AppListService;
12 class Profile;
14 namespace app_list {
15 class PaginationModel;
18 // Factory for AppLists. Used to allow us to create fake app lists in tests.
19 class AppListFactory {
20 public:
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_