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

Unified Diff: base/test/histogram_tester.h

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 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 | « base/test/gtest_util.cc ('k') | base/test/histogram_tester.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/histogram_tester.h
diff --git a/base/test/histogram_tester.h b/base/test/histogram_tester.h
index 604ba836a08ca47e7e0827a392fd45a35d2b6f2a..f11f8543467781afb8ec31a2e568e9f468e038b2 100644
--- a/base/test/histogram_tester.h
+++ b/base/test/histogram_tester.h
@@ -6,13 +6,13 @@
#define BASE_TEST_HISTOGRAM_TESTER_H_
#include <map>
+#include <memory>
#include <ostream>
#include <string>
#include <utility>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/metrics/histogram.h"
#include "base/metrics/histogram_base.h"
@@ -93,7 +93,7 @@ class HistogramTester {
// Access a modified HistogramSamples containing only what has been logged
// to the histogram since the creation of this object.
- scoped_ptr<HistogramSamples> GetHistogramSamplesSinceCreation(
+ std::unique_ptr<HistogramSamples> GetHistogramSamplesSinceCreation(
const std::string& histogram_name) const;
private:
« no previous file with comments | « base/test/gtest_util.cc ('k') | base/test/histogram_tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698