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

Unified Diff: chromecast/browser/pref_service_helper.h

Issue 1875623002: Convert //chromecast 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: chromecast/browser/pref_service_helper.h
diff --git a/chromecast/browser/pref_service_helper.h b/chromecast/browser/pref_service_helper.h
index 1546cc84428a5dcfc97b791d79db7a9ba765616d..132f16070b45c953647f7c3827616cc7381e857c 100644
--- a/chromecast/browser/pref_service_helper.h
+++ b/chromecast/browser/pref_service_helper.h
@@ -7,11 +7,11 @@
#ifndef CHROMECAST_BROWSER_PREF_SERVICE_HELPER_H_
#define CHROMECAST_BROWSER_PREF_SERVICE_HELPER_H_
+#include <memory>
#include <string>
#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/threading/sequenced_worker_pool.h"
#include "base/threading/thread_checker.h"
#include "components/prefs/pref_service.h"
@@ -26,7 +26,7 @@ namespace shell {
class PrefServiceHelper {
public:
// Loads configs from config file. Returns true if successful.
- static scoped_ptr<PrefService> CreatePrefService(
+ static std::unique_ptr<PrefService> CreatePrefService(
PrefRegistrySimple* registry);
private:
« no previous file with comments | « chromecast/browser/metrics/cast_metrics_service_client.cc ('k') | chromecast/browser/pref_service_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698