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

Unified Diff: components/rappor/test_rappor_service.h

Issue 1921923002: Convert //components/[o-t]* 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
« no previous file with comments | « components/rappor/sampler_unittest.cc ('k') | components/rappor/test_rappor_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/rappor/test_rappor_service.h
diff --git a/components/rappor/test_rappor_service.h b/components/rappor/test_rappor_service.h
index 56e85db1277286493916ddccf15c1dd4be4e46a8..01a850ccd502f9812efa7eae6ee7a95465e55461 100644
--- a/components/rappor/test_rappor_service.h
+++ b/components/rappor/test_rappor_service.h
@@ -58,9 +58,9 @@ class TestRapporService : public RapporService {
~TestRapporService() override;
// RapporService:
- scoped_ptr<Sample> CreateSample(RapporType type) override;
+ std::unique_ptr<Sample> CreateSample(RapporType type) override;
void RecordSampleObj(const std::string& metric_name,
- scoped_ptr<Sample> sample) override;
+ std::unique_ptr<Sample> sample) override;
void RecordSample(const std::string& metric_name,
RapporType type,
const std::string& sample) override;
« no previous file with comments | « components/rappor/sampler_unittest.cc ('k') | components/rappor/test_rappor_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698