Index: base/metrics/sample_vector.h |
diff --git a/base/metrics/sample_vector.h b/base/metrics/sample_vector.h |
index 86319ea00875ba1d21e33e36756b5c7ae5369c2a..ee26c52101912df69856d107ebc330390269b0cf 100644 |
--- a/base/metrics/sample_vector.h |
+++ b/base/metrics/sample_vector.h |
@@ -11,12 +11,12 @@ |
#include <stddef.h> |
#include <stdint.h> |
+#include <memory> |
#include <vector> |
#include "base/compiler_specific.h" |
#include "base/gtest_prod_util.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/metrics/histogram_base.h" |
#include "base/metrics/histogram_samples.h" |
@@ -40,7 +40,7 @@ class BASE_EXPORT SampleVector : public HistogramSamples { |
HistogramBase::Count count) override; |
HistogramBase::Count GetCount(HistogramBase::Sample value) const override; |
HistogramBase::Count TotalCount() const override; |
- scoped_ptr<SampleCountIterator> Iterator() const override; |
+ std::unique_ptr<SampleCountIterator> Iterator() const override; |
// Get count of a specific bucket. |
HistogramBase::Count GetCountAtIndex(size_t bucket_index) const; |