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

Unified Diff: components/domain_reliability/uploader.h

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/autofill/core/browser/test_autofill_driver.h ('k') | components/domain_reliability/uploader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/uploader.h
diff --git a/components/domain_reliability/uploader.h b/components/domain_reliability/uploader.h
index e322125207375edc0f6f33a31f23f33395219f56..700a4f8c2943e654316bacb5f8398419769eac73 100644
--- a/components/domain_reliability/uploader.h
+++ b/components/domain_reliability/uploader.h
@@ -6,6 +6,7 @@
#define COMPONENTS_DOMAIN_RELIABILITY_UPLOADER_H_
#include <map>
+#include <memory>
#include "base/callback_forward.h"
#include "base/memory/ref_counted.h"
@@ -50,10 +51,10 @@ class DOMAIN_RELIABILITY_EXPORT DomainReliabilityUploader {
// Creates an uploader that uses the given |url_request_context_getter| to
// get a URLRequestContext to use for uploads. (See test_util.h for a mock
// version.)
- static scoped_ptr<DomainReliabilityUploader> Create(
+ static std::unique_ptr<DomainReliabilityUploader> Create(
MockableTime* time,
- const scoped_refptr<
- net::URLRequestContextGetter>& url_request_context_getter);
+ const scoped_refptr<net::URLRequestContextGetter>&
+ url_request_context_getter);
// Uploads |report_json| to |upload_url| and calls |callback| when the upload
// has either completed or failed.
« no previous file with comments | « components/autofill/core/browser/test_autofill_driver.h ('k') | components/domain_reliability/uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698