Index: ios/chrome/browser/browser_state/browser_state_info_cache.h |
diff --git a/ios/chrome/browser/browser_state/browser_state_info_cache.h b/ios/chrome/browser/browser_state/browser_state_info_cache.h |
index 3ffe1fb215a907f787e5dc9fa021288962b8db4d..8d4981c9f907864064f0390f31c20518d27ae48a 100644 |
--- a/ios/chrome/browser/browser_state/browser_state_info_cache.h |
+++ b/ios/chrome/browser/browser_state/browser_state_info_cache.h |
@@ -64,8 +64,10 @@ class BrowserStateInfoCache { |
private: |
const base::DictionaryValue* GetInfoForBrowserStateAtIndex( |
size_t index) const; |
- // Saves the browser state info to a cache and takes ownership of |info|. |
- void SetInfoForBrowserStateAtIndex(size_t index, base::DictionaryValue* info); |
+ // Saves the browser state info to a cache. |
+ void SetInfoForBrowserStateAtIndex( |
+ size_t index, |
+ std::unique_ptr<base::DictionaryValue> info); |
std::string CacheKeyFromBrowserStatePath( |
const base::FilePath& browser_state_path) const; |