| 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..be37714d5d67b632f9eec90c5e5bc11a625f3f52 100644
|
| --- a/chrome/browser/profiles/profile_attributes_storage.h
|
| +++ b/chrome/browser/profiles/profile_attributes_storage.h
|
| @@ -7,12 +7,22 @@
|
|
|
| #include <stddef.h>
|
|
|
| +#include <string>
|
| +#include <vector>
|
| +
|
| #include "base/macros.h"
|
| +#include "base/strings/string16.h"
|
| +#include "chrome/browser/profiles/profile_info_cache_observer.h"
|
|
|
| +namespace base {
|
| +class FilePath;
|
| +} // namespace base
|
| class ProfileAttributesEntry;
|
|
|
| class ProfileAttributesStorage {
|
| public:
|
| + using Observer = ProfileInfoCacheObserver;
|
| +
|
| ProfileAttributesStorage() {}
|
| ~ProfileAttributesStorage() {}
|
|
|
| @@ -46,6 +56,10 @@ class ProfileAttributesStorage {
|
| // Returns the count of known profiles.
|
| virtual size_t GetNumberOfProfiles() const = 0;
|
|
|
| + virtual void AddObserver(ProfileAttributesStorage::Observer* observer) = 0;
|
| + virtual void RemoveObserver(ProfileAttributesStorage::Observer* observer) = 0;
|
| +
|
| + private:
|
| DISALLOW_COPY_AND_ASSIGN(ProfileAttributesStorage);
|
| };
|
|
|
|
|