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

Unified Diff: components/metrics/profiler/ios/ios_tracking_synchronizer_delegate.h

Issue 1906173002: Convert //components/metrics 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: components/metrics/profiler/ios/ios_tracking_synchronizer_delegate.h
diff --git a/components/metrics/profiler/ios/ios_tracking_synchronizer_delegate.h b/components/metrics/profiler/ios/ios_tracking_synchronizer_delegate.h
index d08476d839da2b5d405e1b4b3781132cf9fd861a..b6d3f0b84c3b847dfb7454da2622561d82501932 100644
--- a/components/metrics/profiler/ios/ios_tracking_synchronizer_delegate.h
+++ b/components/metrics/profiler/ios/ios_tracking_synchronizer_delegate.h
@@ -5,8 +5,9 @@
#ifndef COMPONENTS_METRICS_PROFILER_IOS_IOS_TRACKING_SYNCHRONIZER_DELEGATE_H_
#define COMPONENTS_METRICS_PROFILER_IOS_IOS_TRACKING_SYNCHRONIZER_DELEGATE_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/metrics/profiler/tracking_synchronizer_delegate.h"
namespace metrics {
@@ -19,7 +20,7 @@ class IOSTrackingSynchronizerDelegate : public TrackingSynchronizerDelegate {
// Creates an IOSTrackingSynchronizerDelegate that is associated with
// |synchronizer_|.
- static scoped_ptr<TrackingSynchronizerDelegate> Create(
+ static std::unique_ptr<TrackingSynchronizerDelegate> Create(
TrackingSynchronizer* synchronizer);
private:

Powered by Google App Engine
This is Rietveld 408576698