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

Side by Side Diff: net/cert/nss_cert_database_chromeos_test_utils.cc

Issue 111273002: NSSCertDatabaseChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gcc fix Created 7 years 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 | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698