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 a82e01cdd0a2d7194b070a1a50e7b689f03f8061..85a0db4e70f0775ae58e6b3a73dd1cd06eba4676 100644 |
--- a/chrome/browser/ui/app_list/app_list_view_delegate.h |
+++ b/chrome/browser/ui/app_list/app_list_view_delegate.h |
@@ -11,6 +11,7 @@ |
#include "base/callback_forward.h" |
#include "base/compiler_specific.h" |
#include "base/memory/scoped_ptr.h" |
+#include "chrome/browser/profiles/profile_info_cache_observer.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
#include "ui/app_list/app_list_view_delegate.h" |
@@ -43,7 +44,8 @@ class AppSyncUIStateWatcher; |
class AppListViewDelegate : public app_list::AppListViewDelegate, |
public app_list::SigninDelegateObserver, |
- public content::NotificationObserver { |
+ public content::NotificationObserver, |
+ public ProfileInfoCacheObserver { |
public: |
// The delegate will take ownership of the controller. |
AppListViewDelegate(AppListControllerDelegate* controller, Profile* profile); |
@@ -83,6 +85,13 @@ class AppListViewDelegate : public app_list::AppListViewDelegate, |
const content::NotificationSource& source, |
const content::NotificationDetails& details) OVERRIDE; |
+ // Overridden from ProfileInfoCacheObserver: |
koz (OOO until 15th September)
2013/08/14 09:59:17
Did you mean to add this as an observer somewhere?
calamity
2013/08/15 05:59:19
Done.
|
+ virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE; |
+ virtual void OnProfileWillBeRemoved( |
+ const base::FilePath& profile_path) OVERRIDE; |
+ virtual void OnProfileNameChanged(const base::FilePath& profile_path, |
+ const string16& old_profile_name) OVERRIDE; |
+ |
scoped_ptr<app_list::SigninDelegate> signin_delegate_; |
scoped_ptr<AppsModelBuilder> apps_builder_; |
scoped_ptr<app_list::SearchController> search_controller_; |