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

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
« no previous file with comments | « chrome/service/service_process.cc ('k') | chrome/service/service_process_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..21ef0a9cba19d5df8619b043000d69964b7e3109 100644
--- a/chrome/service/service_process_prefs.h
+++ b/chrome/service/service_process_prefs.h
@@ -5,6 +5,7 @@
#ifndef CHROME_SERVICE_SERVICE_PROCESS_PREFS_H_
#define CHROME_SERVICE_SERVICE_PROCESS_PREFS_H_
+#include <memory>
#include <string>
#include "base/macros.h"
@@ -57,7 +58,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);
// Removes the pref specified by |key|.
void RemovePref(const std::string& key);
« no previous file with comments | « chrome/service/service_process.cc ('k') | chrome/service/service_process_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698