Index: chrome/browser/ui/app_list/app_list_view_delegate.h |
diff --git a/chrome/browser/ui/app_list/app_list_view_delegate.h b/chrome/browser/ui/app_list/app_list_view_delegate.h |
index 5aa6ba8bf50ffa2f96c932ed99e8736ade5102fd..8f8c805d2edbfd35af3ffe9cd2e574c887270046 100644 |
--- a/chrome/browser/ui/app_list/app_list_view_delegate.h |
+++ b/chrome/browser/ui/app_list/app_list_view_delegate.h |
@@ -55,16 +55,16 @@ class AppListViewDelegate : public app_list::AppListViewDelegate, |
public SigninManagerFactory::Observer, |
public content::NotificationObserver { |
public: |
- // Constructs Chrome's AppListViewDelegate, initially for |profile|. |
+ // Constructs Chrome's AppListViewDelegate with a NULL Profile. |
// Does not take ownership of |controller|. TODO(tapted): It should. |
- AppListViewDelegate(Profile* profile, |
- AppListControllerDelegate* controller); |
+ explicit AppListViewDelegate(AppListControllerDelegate* controller); |
virtual ~AppListViewDelegate(); |
- private: |
// Configure the AppList for the given |profile|. |
void SetProfile(Profile* profile); |
+ Profile* profile() { return profile_; } |
+ private: |
// Updates the speech webview and start page for the current |profile_|. |
void SetUpSearchUI(); |