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

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

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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
« no previous file with comments | « net/base/sdch_manager.h ('k') | net/cert/cert_database_android.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_CERT_CERT_DATABASE_H_ 5 #ifndef NET_CERT_CERT_DATABASE_H_
6 #define NET_CERT_CERT_DATABASE_H_ 6 #define NET_CERT_CERT_DATABASE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
12 #include "net/cert/x509_certificate.h" 12 #include "net/cert/x509_certificate.h"
13 13
14 template <typename T> struct DefaultSingletonTraits; 14 template <typename T> struct DefaultSingletonTraits;
15 15
16 namespace base { 16 namespace base {
17 template <class ObserverType> class ObserverListThreadSafe; 17 template <class ObserverType>
18 class ObserverListThreadSafe;
18 } 19 }
19 20
20 namespace net { 21 namespace net {
21 22
22 // This class provides cross-platform functions to verify and add user 23 // This class provides cross-platform functions to verify and add user
23 // certificates, and to observe changes to the underlying certificate stores. 24 // certificates, and to observe changes to the underlying certificate stores.
24 25
25 // TODO(gauravsh): This class could be augmented with methods 26 // TODO(gauravsh): This class could be augmented with methods
26 // for all operations that manipulate the underlying system 27 // for all operations that manipulate the underlying system
27 // certificate store. 28 // certificate store.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 friend class Notifier; 117 friend class Notifier;
117 scoped_ptr<Notifier> notifier_; 118 scoped_ptr<Notifier> notifier_;
118 #endif 119 #endif
119 120
120 DISALLOW_COPY_AND_ASSIGN(CertDatabase); 121 DISALLOW_COPY_AND_ASSIGN(CertDatabase);
121 }; 122 };
122 123
123 } // namespace net 124 } // namespace net
124 125
125 #endif // NET_CERT_CERT_DATABASE_H_ 126 #endif // NET_CERT_CERT_DATABASE_H_
OLDNEW
« no previous file with comments | « net/base/sdch_manager.h ('k') | net/cert/cert_database_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698