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

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

Issue 1631373003: Refactor ProfileInfoCache in c/b/ui/app_list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to comments, add sorting of ProfileAttributesEntry Created 4 years, 11 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_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 67307493610ec5f437fe5587b876334a2159fb1b..ca34ac7004ac66ca5e104fa668c1d657740e015a 100644
--- a/chrome/browser/ui/app_list/app_list_view_delegate.h
+++ b/chrome/browser/ui/app_list/app_list_view_delegate.h
@@ -8,6 +8,7 @@
#include <stdint.h>
#include <string>
+#include <vector>
tapted 2016/01/31 23:04:37 nit: also not required - see below
#include "base/callback_forward.h"
#include "base/compiler_specific.h"
@@ -17,7 +18,7 @@
#include "base/memory/scoped_vector.h"
#include "base/observer_list.h"
#include "base/scoped_observer.h"
-#include "chrome/browser/profiles/profile_info_cache_observer.h"
+#include "chrome/browser/profiles/profile_attributes_storage.h"
#include "chrome/browser/search/hotword_client.h"
#include "chrome/browser/signin/signin_manager_factory.h"
#include "chrome/browser/ui/app_list/start_page_observer.h"
@@ -61,7 +62,7 @@ class AppSyncUIStateWatcher;
class AppListViewDelegate : public app_list::AppListViewDelegate,
public app_list::StartPageObserver,
public HotwordClient,
- public ProfileInfoCacheObserver,
+ public ProfileAttributesStorage::Observer,
public SigninManagerBase::Observer,
public SigninManagerFactory::Observer,
public content::NotificationObserver,
@@ -158,7 +159,7 @@ class AppListViewDelegate : public app_list::AppListViewDelegate,
void GoogleSignedOut(const std::string& account_id,
const std::string& username) override;
- // Overridden from ProfileInfoCacheObserver:
+ // Overridden from ProfileAttributesStorage::Observer:
void OnProfileAdded(const base::FilePath& profile_path) override;
void OnProfileWasRemoved(const base::FilePath& profile_path,
const base::string16& profile_name) override;

Powered by Google App Engine
This is Rietveld 408576698