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

Side by Side Diff: chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/net/cert_verify_proc_chromeos.h" 5 #include "chrome/browser/chromeos/net/cert_verify_proc_chromeos.h"
6 6
7 #include "crypto/nss_util_internal.h" 7 #include "crypto/nss_util_internal.h"
8 #include "crypto/scoped_test_nss_chromeos_user.h" 8 #include "crypto/scoped_test_nss_chromeos_user.h"
9 #include "net/base/net_errors.h" 9 #include "net/base/net_errors.h"
10 #include "net/base/test_data_directory.h" 10 #include "net/base/test_data_directory.h"
11 #include "net/cert/cert_verify_proc.h" 11 #include "net/cert/cert_verify_proc.h"
12 #include "net/cert/cert_verify_result.h" 12 #include "net/cert/cert_verify_result.h"
13 #include "net/cert/nss_cert_database_chromeos.h" 13 #include "net/cert/nss_cert_database_chromeos.h"
14 #include "net/test/cert_test_util.h" 14 #include "net/test/cert_test_util.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 namespace chromeos { 17 namespace chromeos {
18 18
19 class CertVerifyProcChromeOSTest : public testing::Test { 19 class CertVerifyProcChromeOSTest : public testing::Test {
20 public: 20 public:
21 CertVerifyProcChromeOSTest() : user_1_("user1"), user_2_("user2") {} 21 CertVerifyProcChromeOSTest() : user_1_("user1"), user_2_("user2") {}
22 22
23 virtual void SetUp() OVERRIDE { 23 virtual void SetUp() override {
24 // Initialize nss_util slots. 24 // Initialize nss_util slots.
25 ASSERT_TRUE(user_1_.constructed_successfully()); 25 ASSERT_TRUE(user_1_.constructed_successfully());
26 ASSERT_TRUE(user_2_.constructed_successfully()); 26 ASSERT_TRUE(user_2_.constructed_successfully());
27 user_1_.FinishInit(); 27 user_1_.FinishInit();
28 user_2_.FinishInit(); 28 user_2_.FinishInit();
29 29
30 // Create NSSCertDatabaseChromeOS for each user. 30 // Create NSSCertDatabaseChromeOS for each user.
31 db_1_.reset(new net::NSSCertDatabaseChromeOS( 31 db_1_.reset(new net::NSSCertDatabaseChromeOS(
32 crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash()), 32 crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash()),
33 crypto::GetPrivateSlotForChromeOSUser( 33 crypto::GetPrivateSlotForChromeOSUser(
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 373
374 INSTANTIATE_TEST_CASE_P( 374 INSTANTIATE_TEST_CASE_P(
375 Variations, 375 Variations,
376 CertVerifyProcChromeOSOrderingTest, 376 CertVerifyProcChromeOSOrderingTest,
377 ::testing::Combine( 377 ::testing::Combine(
378 ::testing::Bool(), 378 ::testing::Bool(),
379 ::testing::Range(0, 1 << 2), 379 ::testing::Range(0, 1 << 2),
380 ::testing::Values("d12", "d21", "1d2", "12d", "2d1", "21d"))); 380 ::testing::Values("d12", "d21", "1d2", "12d", "2d1", "21d")));
381 381
382 } // namespace chromeos 382 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/net/cert_verify_proc_chromeos.h ('k') | chrome/browser/chromeos/net/network_portal_detector_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698