| Index: chrome/browser/profiles/profile_info_cache.h
|
| diff --git a/chrome/browser/profiles/profile_info_cache.h b/chrome/browser/profiles/profile_info_cache.h
|
| index 08ae3ed11583c4552eaef0d6812d0826d4d4e5b3..3d3374ce9b1b0cdab9734bad4c9f24caf84bb341 100644
|
| --- a/chrome/browser/profiles/profile_info_cache.h
|
| +++ b/chrome/browser/profiles/profile_info_cache.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <stddef.h>
|
|
|
| +#include <memory>
|
| #include <string>
|
| #include <unordered_map>
|
| #include <vector>
|
| @@ -18,6 +19,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/observer_list.h"
|
| #include "base/strings/string16.h"
|
| +#include "base/values.h"
|
| #include "chrome/browser/profiles/profile_attributes_entry.h"
|
| #include "chrome/browser/profiles/profile_attributes_storage.h"
|
| #include "chrome/browser/profiles/profile_info_cache_observer.h"
|
| @@ -201,8 +203,9 @@ class ProfileInfoCache : public ProfileInfoInterface,
|
| NothingToDownloadHighResAvatarTest);
|
|
|
| const base::DictionaryValue* GetInfoForProfileAtIndex(size_t index) const;
|
| - // Saves the profile info to a cache and takes ownership of |info|.
|
| - void SetInfoForProfileAtIndex(size_t index, base::DictionaryValue* info);
|
| + // Saves the profile info to a cache.
|
| + void SetInfoForProfileAtIndex(size_t index,
|
| + std::unique_ptr<base::DictionaryValue> info);
|
| std::string CacheKeyFromProfilePath(const base::FilePath& profile_path) const;
|
| std::vector<std::string>::iterator FindPositionForProfile(
|
| const std::string& search_key,
|
|
|