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

Unified Diff: rlz/chromeos/lib/rlz_value_store_chromeos.h

Issue 2336863003: Change more base::ListValue methods to use std::unique_ptr. (Closed)
Patch Set: . Created 4 years, 3 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
« no previous file with comments | « net/http/http_server_properties_manager_unittest.cc ('k') | rlz/chromeos/lib/rlz_value_store_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rlz/chromeos/lib/rlz_value_store_chromeos.h
diff --git a/rlz/chromeos/lib/rlz_value_store_chromeos.h b/rlz/chromeos/lib/rlz_value_store_chromeos.h
index 182ba0eb2ac705aec5081c988a62053abe7cc2e2..418b83e13dda682f0c8f6450371b28ce4b52766a 100644
--- a/rlz/chromeos/lib/rlz_value_store_chromeos.h
+++ b/rlz/chromeos/lib/rlz_value_store_chromeos.h
@@ -70,7 +70,8 @@ class RlzValueStoreChromeOS : public RlzValueStore,
void WriteStore();
// Adds |value| to list at |list_name| path in JSON store.
- bool AddValueToList(const std::string& list_name, base::Value* value);
+ bool AddValueToList(const std::string& list_name,
+ std::unique_ptr<base::Value> value);
// Removes |value| from list at |list_name| path in JSON store.
bool RemoveValueFromList(const std::string& list_name,
const base::Value& value);
« no previous file with comments | « net/http/http_server_properties_manager_unittest.cc ('k') | rlz/chromeos/lib/rlz_value_store_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698