diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-07-14 17:41:05 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2016-08-04 12:37:36 +0000 |
commit | 399c965b6064c440ddcf4015f5f8e9d131c7a0a6 (patch) | |
tree | 6b06b60ff365abef0e13b3503d593a0df48d20e8 /chromium/net/cert/nss_cert_database_unittest.cc | |
parent | 7366110654eec46f21b6824f302356426f48cd74 (diff) | |
download | qtwebengine-chromium-399c965b6064c440ddcf4015f5f8e9d131c7a0a6.tar.gz |
BASELINE: Update Chromium to 52.0.2743.76 and Ninja to 1.7.1
Change-Id: I382f51b959689505a60f8b707255ecb344f7d8b4
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/net/cert/nss_cert_database_unittest.cc')
-rw-r--r-- | chromium/net/cert/nss_cert_database_unittest.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chromium/net/cert/nss_cert_database_unittest.cc b/chromium/net/cert/nss_cert_database_unittest.cc index cdb9be0ab78..fffab1d212b 100644 --- a/chromium/net/cert/nss_cert_database_unittest.cc +++ b/chromium/net/cert/nss_cert_database_unittest.cc @@ -2,11 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "net/cert/nss_cert_database.h" + #include <cert.h> #include <certdb.h> #include <pk11pub.h> #include <algorithm> +#include <memory> #include "base/bind.h" #include "base/files/file_path.h" @@ -17,7 +20,7 @@ #include "base/strings/string16.h" #include "base/strings/string_util.h" #include "base/strings/utf_string_conversions.h" -#include "base/thread_task_runner_handle.h" +#include "base/threading/thread_task_runner_handle.h" #include "crypto/scoped_nss_types.h" #include "crypto/scoped_test_nss_db.h" #include "net/base/crypto_module.h" @@ -26,7 +29,6 @@ #include "net/cert/cert_status_flags.h" #include "net/cert/cert_verify_proc_nss.h" #include "net/cert/cert_verify_result.h" -#include "net/cert/nss_cert_database.h" #include "net/cert/x509_certificate.h" #include "net/test/cert_test_util.h" #include "net/third_party/mozilla_security_manager/nsNSSCertificateDB.h" @@ -45,7 +47,7 @@ namespace net { namespace { void SwapCertList(CertificateList* destination, - scoped_ptr<CertificateList> source) { + std::unique_ptr<CertificateList> source) { ASSERT_TRUE(destination); destination->swap(*source); } @@ -111,7 +113,7 @@ class CertDatabaseNSSTest : public testing::Test { return result; } - scoped_ptr<NSSCertDatabase> cert_db_; + std::unique_ptr<NSSCertDatabase> cert_db_; const CertificateList empty_cert_list_; crypto::ScopedTestNSSDB test_nssdb_; scoped_refptr<CryptoModule> public_module_; |