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

Unified Diff: chrome/service/service_process_prefs.h

Issue 1899083002: Convert //chrome from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: chrome/service/service_process_prefs.h
diff --git a/chrome/service/service_process_prefs.h b/chrome/service/service_process_prefs.h
index cae0542b8b12609210d8acacd5923bcfdd2e0333..1ee9f2ad27d6bde57634014958ffe7d44bc3b91d 100644
--- a/chrome/service/service_process_prefs.h
+++ b/chrome/service/service_process_prefs.h
@@ -57,7 +57,7 @@ class ServiceProcessPrefs {
const base::ListValue* GetList(const std::string& key) const;
// Set a |value| for |key|.
- void SetValue(const std::string& key, scoped_ptr<base::Value> value);
+ void SetValue(const std::string& key, std::unique_ptr<base::Value> value);
Lei Zhang 2016/04/19 01:35:42 IWYU
dcheng 2016/04/19 03:51:33 Done.
// Removes the pref specified by |key|.
void RemovePref(const std::string& key);

Powered by Google App Engine
This is Rietveld 408576698