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

Unified Diff: components/metrics/profiler/content/content_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/content/content_tracking_synchronizer_delegate.h
diff --git a/components/metrics/profiler/content/content_tracking_synchronizer_delegate.h b/components/metrics/profiler/content/content_tracking_synchronizer_delegate.h
index c648347c8cf71f89393844dee1ee5342b1afa7d0..cfb370d787ce6ea75d9064d37fe80b2a4e2674cf 100644
--- a/components/metrics/profiler/content/content_tracking_synchronizer_delegate.h
+++ b/components/metrics/profiler/content/content_tracking_synchronizer_delegate.h
@@ -5,8 +5,9 @@
#ifndef COMPONENTS_METRICS_PROFILER_CONTENT_CONTENT_TRACKING_SYNCHRONIZER_DELEGATE_H_
#define COMPONENTS_METRICS_PROFILER_CONTENT_CONTENT_TRACKING_SYNCHRONIZER_DELEGATE_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/metrics/profiler/tracking_synchronizer_delegate.h"
#include "content/public/browser/profiler_subscriber.h"
@@ -22,7 +23,7 @@ class ContentTrackingSynchronizerDelegate : public TrackingSynchronizerDelegate,
// Creates a ContentTrackingSynchronizerDelegate 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