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 2843813002: Remove SetWithoutPathExpansion (Closed)
Patch Set: Fix CrOS Error Created 3 years, 8 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..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;
« 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