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_TEST_CHROME_APP_LIST_TEST_SUPPORT_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_TEST_CHROME_APP_LIST_TEST_SUPPORT_H_ 7 8 namespace app_list { 9 class AppListModel; 10 } 11 12 class AppListService; 13 14 namespace test { 15 16 // Gets the model keyed to the profile currently associated with |service|. 17 app_list::AppListModel* GetAppListModel(AppListService* service); 18 19 // Gets the app list service for the desktop type currently being tested. 20 AppListService* GetAppListService(); 21 22 } // namespace test 23 24 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_CHROME_APP_LIST_TEST_SUPPORT_H_ 25