| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "net/cert/nss_cert_database_chromeos_test_utils.h" |
| 6 |
| 7 #include "net/cert/nss_cert_database_chromeos.h" |
| 8 |
| 9 namespace net { |
| 10 |
| 11 ScopedTestNSSCertDatabaseChromeOS::ScopedTestNSSCertDatabaseChromeOS( |
| 12 const std::string& username_hash) |
| 13 : scoped_nss_user_(username_hash) {} |
| 14 |
| 15 ScopedTestNSSCertDatabaseChromeOS::~ScopedTestNSSCertDatabaseChromeOS() { |
| 16 NSSCertDatabaseChromeOS::RemoveUserForTesting(username_hash()); |
| 17 } |
| 18 |
| 19 void ScopedTestNSSCertDatabaseChromeOS::FinishInit() { |
| 20 scoped_nss_user_.FinishInit(); |
| 21 } |
| 22 |
| 23 } // namespace net |
| OLD | NEW |