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

Unified Diff: components/domain_reliability/uploader.cc

Issue 1851933002: Convert //url to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU fixup 7 Created 4 years, 9 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/domain_reliability/uploader.h ('k') | components/ntp_snippets/ntp_snippet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/uploader.cc
diff --git a/components/domain_reliability/uploader.cc b/components/domain_reliability/uploader.cc
index 2f792afedba7c466985311fe6afb3a42659a289c..8ed2e0e371419286a0ac4a99b59287398990dea7 100644
--- a/components/domain_reliability/uploader.cc
+++ b/components/domain_reliability/uploader.cc
@@ -164,11 +164,11 @@ DomainReliabilityUploader::DomainReliabilityUploader() {}
DomainReliabilityUploader::~DomainReliabilityUploader() {}
// static
-scoped_ptr<DomainReliabilityUploader> DomainReliabilityUploader::Create(
+std::unique_ptr<DomainReliabilityUploader> DomainReliabilityUploader::Create(
MockableTime* time,
const scoped_refptr<net::URLRequestContextGetter>&
url_request_context_getter) {
- return scoped_ptr<DomainReliabilityUploader>(
+ return std::unique_ptr<DomainReliabilityUploader>(
new DomainReliabilityUploaderImpl(time, url_request_context_getter));
}
« no previous file with comments | « components/domain_reliability/uploader.h ('k') | components/ntp_snippets/ntp_snippet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698