Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_ |
| 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_ |
| 7 | 7 |
| 8 class FilePath; | |
| 9 class Profile; | |
| 10 | |
| 8 namespace chrome { | 11 namespace chrome { |
| 9 | 12 |
| 10 // Do any once off initialization needed for the app list. | 13 // Do any once off initialization needed for the app list. |
| 11 void InitAppList(); | 14 void InitAppList(Profile* profile); |
| 12 | 15 |
| 13 // Show the app list. | 16 // Show the app list. |
| 14 void ShowAppList(); | 17 void ShowAppList(Profile* profile); |
| 18 | |
| 19 #if defined(ENABLE_SETTINGS_APP) | |
| 20 // Change the profile that the app list is showing. | |
| 21 void UpdateProfilePath(const FilePath& profile_file_path); | |
|
benwells
2013/01/18 06:18:46
Nit UpdateAppListProfile might be a better name: m
koz (OOO until 15th September)
2013/01/20 23:32:00
I've changed it to SetAppListProfile() (and made t
| |
| 22 | |
| 23 // Get the path of the profile to be used with the app list. | |
| 24 FilePath GetAppListProfilePath(const FilePath& user_data_dir); | |
| 25 #endif | |
| 15 | 26 |
| 16 } // namespace chrome | 27 } // namespace chrome |
| 17 | 28 |
| 18 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_ | 29 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_ |
| OLD | NEW |