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

Unified Diff: extensions/common/cast/cast_cert_validator_unittest.cc

Issue 1908953003: Convert //extensions/{common,shell} from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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 | « extensions/common/cast/cast_cert_validator.cc ('k') | extensions/common/event_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/cast/cast_cert_validator_unittest.cc
diff --git a/extensions/common/cast/cast_cert_validator_unittest.cc b/extensions/common/cast/cast_cert_validator_unittest.cc
index c998f393aff3bc5635faac4a39e2faa52b2352da..2be90d2947f4c867979e8a13156d400bdb6813cd 100644
--- a/extensions/common/cast/cast_cert_validator_unittest.cc
+++ b/extensions/common/cast/cast_cert_validator_unittest.cc
@@ -47,7 +47,7 @@ void RunTest(TestResult expected_result,
const std::string& optional_signed_data_file_name) {
auto certs = cast_test_helpers::ReadCertificateChainFromFile(certs_file_name);
- scoped_ptr<CertVerificationContext> context;
+ std::unique_ptr<CertVerificationContext> context;
CastDeviceCertPolicy policy;
bool result = VerifyDeviceCert(certs, time, &context, &policy);
« no previous file with comments | « extensions/common/cast/cast_cert_validator.cc ('k') | extensions/common/event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698