| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_FACTORY_H_ | |
| 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_FACTORY_H_ | |
| 7 | |
| 8 #include "base/callback_forward.h" | |
| 9 #include "chrome/browser/ui/app_list/app_list.h" | |
| 10 | |
| 11 class AppListService; | |
| 12 class Profile; | |
| 13 | |
| 14 namespace app_list { | |
| 15 class PaginationModel; | |
| 16 } | |
| 17 | |
| 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; | |
| 25 }; | |
| 26 | |
| 27 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_FACTORY_H_ | |
| OLD | NEW |