Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: chrome/browser/ui/app_list/app_list_util.h

Issue 11968034: Enable profile switching for standalone App Launcher via the Settings App. (Closed) Base URL: git://nomatter.syd/chromium/src.git@master
Patch Set: respond to comments Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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)
sail 2013/01/23 16:55:24 don't scatter #ifdefs in code instead have a singl
koz (OOO until 15th September) 2013/01/25 00:32:46 Done.
20 // Change the profile that the app list is showing.
21 void SetAppListProfile(const FilePath& profile_file_path);
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698