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

Side by Side Diff: net/base/cert_database.h

Issue 9476035: Make CertVerifier a pure virtual interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win shared fix Created 8 years, 9 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
« no previous file with comments | « jingle/notifier/base/chrome_async_socket_unittest.cc ('k') | net/base/cert_database.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef NET_BASE_CERT_DATABASE_H_ 5 #ifndef NET_BASE_CERT_DATABASE_H_
6 #define NET_BASE_CERT_DATABASE_H_ 6 #define NET_BASE_CERT_DATABASE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "net/base/cert_type.h" 15 #include "net/base/cert_type.h"
16 #include "net/base/net_export.h" 16 #include "net/base/net_export.h"
17 #include "net/base/x509_certificate.h"
17 18
18 namespace net { 19 namespace net {
19 20
20 class CryptoModule; 21 class CryptoModule;
21 typedef std::vector<scoped_refptr<CryptoModule> > CryptoModuleList; 22 typedef std::vector<scoped_refptr<CryptoModule> > CryptoModuleList;
22 class X509Certificate;
23 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList;
24
25 23
26 // This class provides functions to manipulate the local 24 // This class provides functions to manipulate the local
27 // certificate store. 25 // certificate store.
28 26
29 // TODO(gauravsh): This class could be augmented with methods 27 // TODO(gauravsh): This class could be augmented with methods
30 // for all operations that manipulate the underlying system 28 // for all operations that manipulate the underlying system
31 // certificate store. 29 // certificate store.
32 30
33 class NET_EXPORT CertDatabase { 31 class NET_EXPORT CertDatabase {
34 public: 32 public:
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 static void NotifyObserversOfUserCertAdded(const X509Certificate* cert); 201 static void NotifyObserversOfUserCertAdded(const X509Certificate* cert);
204 static void NotifyObserversOfUserCertRemoved(const X509Certificate* cert); 202 static void NotifyObserversOfUserCertRemoved(const X509Certificate* cert);
205 static void NotifyObserversOfCertTrustChanged(const X509Certificate* cert); 203 static void NotifyObserversOfCertTrustChanged(const X509Certificate* cert);
206 204
207 DISALLOW_COPY_AND_ASSIGN(CertDatabase); 205 DISALLOW_COPY_AND_ASSIGN(CertDatabase);
208 }; 206 };
209 207
210 } // namespace net 208 } // namespace net
211 209
212 #endif // NET_BASE_CERT_DATABASE_H_ 210 #endif // NET_BASE_CERT_DATABASE_H_
OLDNEW
« no previous file with comments | « jingle/notifier/base/chrome_async_socket_unittest.cc ('k') | net/base/cert_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698