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

Unified Diff: components/certificate_reporting/error_reporter.h

Issue 1921973002: Convert //components/[a-e]* 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/certificate_reporting/error_report.h ('k') | components/certificate_reporting/error_reporter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/certificate_reporting/error_reporter.h
diff --git a/components/certificate_reporting/error_reporter.h b/components/certificate_reporting/error_reporter.h
index 67e4bd309f9d05328c74cd293d44fda6895bacb1..f94172e0941ce8524707088e8c524f32d98d24e4 100644
--- a/components/certificate_reporting/error_reporter.h
+++ b/components/certificate_reporting/error_reporter.h
@@ -7,11 +7,11 @@
#include <stdint.h>
+#include <memory>
#include <set>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "net/url_request/certificate_report_sender.h"
#include "url/gurl.h"
@@ -44,7 +44,7 @@ class ErrorReporter {
const GURL& upload_url,
const uint8_t server_public_key[/* 32 */],
const uint32_t server_public_key_version,
- scoped_ptr<net::CertificateReportSender> certificate_report_sender);
+ std::unique_ptr<net::CertificateReportSender> certificate_report_sender);
virtual ~ErrorReporter();
@@ -75,7 +75,7 @@ class ErrorReporter {
std::string* decrypted_serialized_report);
private:
- scoped_ptr<net::CertificateReportSender> certificate_report_sender_;
+ std::unique_ptr<net::CertificateReportSender> certificate_report_sender_;
const GURL upload_url_;
« no previous file with comments | « components/certificate_reporting/error_report.h ('k') | components/certificate_reporting/error_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698