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

Side by Side Diff: chrome/browser/chromeos/net/cert_profile_filter.h

Issue 419013003: Replace c/b/nss_context by a KeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added cert_database namespace. 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 | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698