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

Unified Diff: chrome/browser/ui/app_list/app_list_service_impl.h

Issue 18421007: [win] Set the profile path when enabling the app launcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, and fix a few things Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/app_list/app_list_service_impl.h
diff --git a/chrome/browser/ui/app_list/app_list_service_impl.h b/chrome/browser/ui/app_list/app_list_service_impl.h
index 01cace761bf79a013223d098a247c8419c0fe189..c174afe8ce74885a0b4b611b4c469e88ec936fe1 100644
--- a/chrome/browser/ui/app_list/app_list_service_impl.h
+++ b/chrome/browser/ui/app_list/app_list_service_impl.h
@@ -46,18 +46,24 @@ class AppListServiceImpl : public AppListService,
ProfileLoader& profile_loader() { return profile_loader_; }
const ProfileLoader& profile_loader() const { return profile_loader_; }
- // Save |profile_file_path| as the app list profile in local state.
- void SaveProfilePathToLocalState(const base::FilePath& profile_file_path);
+ // Perform shared initialization tasks for desktop app list implementations.
+ void SharedDesktopInit(Profile* initial_profile);
+
+ // Create a platform-specific shortcut for the app list.
+ virtual void CreateShortcut();
// Called in response to observed successful and unsuccessful signin changes.
virtual void OnSigninStatusChanged();
// AppListService overrides:
virtual void Init(Profile* initial_profile) OVERRIDE;
+
virtual base::FilePath GetProfilePath(
const base::FilePath& user_data_dir) OVERRIDE;
+ virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE;
virtual void ShowForSavedProfile() OVERRIDE;
+ virtual void EnableAppList(Profile* initial_profile) OVERRIDE;
virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE;
private:
@@ -69,12 +75,6 @@ class AppListServiceImpl : public AppListService,
Profile* profile,
Profile::CreateStatus status);
- // AppListService overrides:
- // Update the profile path stored in local prefs, load it (if not already
- // loaded), and show the app list.
- virtual void SetAppListProfile(
- const base::FilePath& profile_file_path) OVERRIDE;
-
virtual Profile* GetCurrentAppListProfile() OVERRIDE;
// ProfileInfoCacheObserver overrides:

Powered by Google App Engine
This is Rietveld 408576698