Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: ios/chrome/browser/browser_state/browser_state_info_cache.h

Issue 2884933002: Remove raw base::DictionaryValue::SetWithoutPathExpansion (Closed)
Patch Set: Include Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « ios/chrome/browser/autofill/autofill_agent.mm ('k') | ios/chrome/browser/browser_state/browser_state_info_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698