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: |
+ 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; |
tapted
2013/08/15 06:34:31
nit: base::string16 + #include base/strings/string
calamity
2013/08/15 09:16:46
Done.
tfarina
2013/08/15 17:01:51
if this is an override, it means profile_info_cach
|
+ |
scoped_ptr<app_list::SigninDelegate> signin_delegate_; |
scoped_ptr<AppsModelBuilder> apps_builder_; |
scoped_ptr<app_list::SearchController> search_controller_; |