f8b4988b0876c5ba0a2aff0512f5c1e8a98ab6f2
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / app_list / test / chrome_app_list_test_support.h
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 class Profile;
14
15 namespace test {
16
17 // Gets the model keyed to the profile currently associated with |service|.
18 app_list::AppListModel* GetAppListModel(AppListService* service);
19
20 // Gets the app list service for the desktop type currently being tested.
21 AppListService* GetAppListService();
22
23 // Simulate a Chrome sign-in for the given |profile|.
24 void SigninProfile(Profile* profile);
25
26 }  // namespace test
27
28 #endif  // CHROME_BROWSER_UI_APP_LIST_TEST_CHROME_APP_LIST_TEST_SUPPORT_H_