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

Unified Diff: chrome/browser/profiles/profile_attributes_storage.h

Issue 1631373003: Refactor ProfileInfoCache in c/b/ui/app_list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/profiles/profile_attributes_storage.h
diff --git a/chrome/browser/profiles/profile_attributes_storage.h b/chrome/browser/profiles/profile_attributes_storage.h
index 67b82af81206123e63f94c888998bef6eba9645c..ac1cd589758a0c5f076f40d429ebffa4e366d0c3 100644
--- a/chrome/browser/profiles/profile_attributes_storage.h
+++ b/chrome/browser/profiles/profile_attributes_storage.h
@@ -7,8 +7,16 @@
#include <stddef.h>
+#include <string>
+#include <vector>
+
#include "base/macros.h"
+#include "base/strings/string16.h"
+#include "chrome/browser/profiles/profile_attributes_storage_observer.h"
lwchkg 2016/01/27 22:37:19 I looking into forward declaring this class, but c
+namespace base {
+class FilePath;
+} // namespace base
class ProfileAttributesEntry;
class ProfileAttributesStorage {
@@ -46,6 +54,10 @@ class ProfileAttributesStorage {
// Returns the count of known profiles.
virtual size_t GetNumberOfProfiles() const = 0;
+ virtual void AddObserver(ProfileAttributesStorageObserver* observer) = 0;
+ virtual void RemoveObserver(ProfileAttributesStorageObserver* observer) = 0;
+
+ private:
DISALLOW_COPY_AND_ASSIGN(ProfileAttributesStorage);
};

Powered by Google App Engine
This is Rietveld 408576698