| 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..68ec10640205865207e18dae80b68aaf718a5359 100644
|
| --- a/ios/chrome/browser/browser_state/browser_state_info_cache.h
|
| +++ b/ios/chrome/browser/browser_state/browser_state_info_cache.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <stddef.h>
|
|
|
| +#include <memory>
|
| #include <string>
|
| #include <vector>
|
|
|
| @@ -64,8 +65,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;
|
|
|