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..74506086df1a0eb9d4c92f940afe4214e3f24e74 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> |
@@ -202,7 +203,8 @@ class ProfileInfoCache : public ProfileInfoInterface, |
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); |
+ 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, |