OLD | NEW |
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 CONTENT_BROWSER_CERT_STORE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_CERT_STORE_IMPL_H_ |
6 #define CONTENT_BROWSER_CERT_STORE_IMPL_H_ | 6 #define CONTENT_BROWSER_CERT_STORE_IMPL_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 | 9 |
11 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
12 #include "base/synchronization/lock.h" | 11 #include "base/synchronization/lock.h" |
13 #include "content/public/browser/cert_store.h" | 12 #include "content/public/browser/cert_store.h" |
14 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
15 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
16 #include "net/base/x509_certificate.h" | 15 #include "net/base/x509_certificate.h" |
17 | 16 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 int next_cert_id_; | 63 int next_cert_id_; |
65 | 64 |
66 // This lock protects: process_to_ids_, id_to_processes_, id_to_cert_ and | 65 // This lock protects: process_to_ids_, id_to_processes_, id_to_cert_ and |
67 // cert_to_id_. | 66 // cert_to_id_. |
68 base::Lock cert_lock_; | 67 base::Lock cert_lock_; |
69 | 68 |
70 DISALLOW_COPY_AND_ASSIGN(CertStoreImpl); | 69 DISALLOW_COPY_AND_ASSIGN(CertStoreImpl); |
71 }; | 70 }; |
72 | 71 |
73 #endif // CONTENT_BROWSER_CERT_STORE_IMPL_H_ | 72 #endif // CONTENT_BROWSER_CERT_STORE_IMPL_H_ |
OLD | NEW |