OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_CHROMEOS_NET_CERT_PROFILE_FILTER_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_NET_CERT_PROFILE_FILTER_H_ | |
7 | |
8 #include "base/memory/scoped_ptr.h" | |
9 #include "base/memory/weak_ptr.h" | |
10 | |
11 namespace cert_database { | |
12 class CertDatabaseServiceIOPart; | |
13 } | |
14 | |
15 namespace net { | |
16 class NSSProfileFilterChromeOSFactory; | |
17 } | |
18 | |
19 namespace chromeos { | |
20 | |
21 // Creates a factory for filters that accept any certificate that is available | |
22 // to the given CertDatabase and accordingly to the user of the owning | |
23 // BrowserContext. That means, that the public, private and system slot are used | |
24 // if available. | |
25 // If an error occurs during filter creation, then an empty filter will be | |
26 // returned, see the default constructor of NSSProfileFilterChromeOS. | |
27 scoped_ptr<net::NSSProfileFilterChromeOSFactory> CreateProfileFilterFactory( | |
mattm
2014/10/18 00:45:15
name should be a bit more specific
pneubeck (no reviews)
2014/10/21 09:22:09
Done.
| |
28 const base::WeakPtr<cert_database::CertDatabaseServiceIOPart>& cert_db_io); | |
29 | |
30 } // namespace chromeos | |
31 | |
32 #endif // CHROME_BROWSER_CHROMEOS_NET_CERT_PROFILE_FILTER_H_ | |
OLD | NEW |