OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_THREAD_SAFE_CERTIFICATE_MAP
_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_THREAD_SAFE_CERTIFICATE_MAP
_H_ |
6 #define CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_THREAD_SAFE_CERTIFICATE_MAP
_H_ | 6 #define CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_THREAD_SAFE_CERTIFICATE_MAP
_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" |
12 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
13 #include "chrome/browser/chromeos/certificate_provider/certificate_info.h" | 14 #include "chrome/browser/chromeos/certificate_provider/certificate_info.h" |
14 | 15 |
15 namespace net { | 16 namespace net { |
16 class SHA256HashValueLessThan; | 17 class SHA256HashValueLessThan; |
17 class X509Certificate; | 18 class X509Certificate; |
18 struct SHA256HashValue; | 19 struct SHA256HashValue; |
19 } | 20 } |
20 | 21 |
21 namespace chromeos { | 22 namespace chromeos { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 base::Lock lock_; | 65 base::Lock lock_; |
65 FingerprintToCertAndExtensionMap fingerprint_to_cert_and_extension_; | 66 FingerprintToCertAndExtensionMap fingerprint_to_cert_and_extension_; |
66 | 67 |
67 DISALLOW_COPY_AND_ASSIGN(ThreadSafeCertificateMap); | 68 DISALLOW_COPY_AND_ASSIGN(ThreadSafeCertificateMap); |
68 }; | 69 }; |
69 | 70 |
70 } // namespace certificate_provider | 71 } // namespace certificate_provider |
71 } // namespace chromeos | 72 } // namespace chromeos |
72 | 73 |
73 #endif // CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_THREAD_SAFE_CERTIFICATE_
MAP_H_ | 74 #endif // CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_THREAD_SAFE_CERTIFICATE_
MAP_H_ |
OLD | NEW |