| Index: ui/app_list/app_list_view_delegate.h
|
| diff --git a/ui/app_list/app_list_view_delegate.h b/ui/app_list/app_list_view_delegate.h
|
| index 6ef4230a6145532d7f51b09ed3c15a5442d3f3c7..f27e4aafa83fc07a088fbdf10f1e39a18244a96d 100644
|
| --- a/ui/app_list/app_list_view_delegate.h
|
| +++ b/ui/app_list/app_list_view_delegate.h
|
| @@ -29,9 +29,14 @@ class APP_LIST_EXPORT AppListViewDelegate {
|
| // AppListView owns the delegate.
|
| virtual ~AppListViewDelegate() {}
|
|
|
| - // Invoked to set the model that AppListView uses.
|
| + // Sets the delegate to use the profile at |profile_path|.
|
| + virtual void SetProfileByPath(const base::FilePath& profile_path) = 0;
|
| +
|
| + // Invoked to initialize the model that AppListView uses. This binds the given
|
| + // model to this AppListViewDelegate and makes the AppListViewDelegate
|
| + // responsible for updating the model.
|
| // Note that AppListView owns the model.
|
| - virtual void SetModel(AppListModel* model) = 0;
|
| + virtual void InitModel(AppListModel* model) = 0;
|
|
|
| // Gets the SigninDelegate for the app list. Owned by the AppListViewDelegate.
|
| virtual SigninDelegate* GetSigninDelegate() = 0;
|
| @@ -84,6 +89,9 @@ class APP_LIST_EXPORT AppListViewDelegate {
|
|
|
| // Open the feedback UI.
|
| virtual void OpenFeedback() = 0;
|
| +
|
| + // Shows the app list for the profile specified by |profile_path|.
|
| + virtual void ShowForProfileByPath(const base::FilePath& profile_path) = 0;
|
| };
|
|
|
| } // namespace app_list
|
|
|