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

Unified Diff: components/certificate_reporting/error_report.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
Index: components/certificate_reporting/error_report.h
diff --git a/components/certificate_reporting/error_report.h b/components/certificate_reporting/error_report.h
index 8600cecd84b58026d74bea28c5481c956e1c7332..0200dcd4304be9f3230a80a0e4d327c02f46f02d 100644
--- a/components/certificate_reporting/error_report.h
+++ b/components/certificate_reporting/error_report.h
@@ -5,9 +5,9 @@
#ifndef COMPONENTS_CERTIFICATE_REPORTING_CERTIFICATE_ERROR_REPORT_H_
#define COMPONENTS_CERTIFICATE_REPORTING_CERTIFICATE_ERROR_REPORT_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
namespace net {
class SSLInfo;
@@ -65,7 +65,7 @@ class ErrorReport {
const std::string& hostname() const;
private:
- scoped_ptr<CertLoggerRequest> cert_report_;
+ std::unique_ptr<CertLoggerRequest> cert_report_;
};
} // namespace certificate_reporting
« no previous file with comments | « components/captive_portal/captive_portal_detector_unittest.cc ('k') | components/certificate_reporting/error_reporter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698