OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 #include "extensions/browser/api/cast_channel/cast_auth_util.h" | 5 #include "extensions/browser/api/cast_channel/cast_auth_util.h" |
6 | 6 |
7 #include <cert.h> | 7 #include <cert.h> |
8 #include <cryptohi.h> | 8 #include <cryptohi.h> |
9 #include <pk11pub.h> | 9 #include <pk11pub.h> |
10 #include <seccomon.h> | 10 #include <seccomon.h> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
15 #include "crypto/nss_util.h" | 15 #include "crypto/nss_util.h" |
16 #include "crypto/scoped_nss_types.h" | 16 #include "crypto/scoped_nss_types.h" |
17 #include "extensions/browser/api/cast_channel/cast_channel.pb.h" | |
18 #include "extensions/browser/api/cast_channel/cast_message_util.h" | 17 #include "extensions/browser/api/cast_channel/cast_message_util.h" |
| 18 #include "extensions/common/api/cast_channel/cast_channel.pb.h" |
19 #include "net/base/hash_value.h" | 19 #include "net/base/hash_value.h" |
20 #include "net/cert/x509_certificate.h" | 20 #include "net/cert/x509_certificate.h" |
21 | 21 |
22 namespace extensions { | 22 namespace extensions { |
23 namespace core_api { | 23 namespace core_api { |
24 namespace cast_channel { | 24 namespace cast_channel { |
25 | 25 |
26 namespace { | 26 namespace { |
27 | 27 |
28 // Fingerprints and public keys of the allowed / trusted ICAs. | 28 // Fingerprints and public keys of the allowed / trusted ICAs. |
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 << ", NSS error code: " << result.nss_error_code; | 749 << ", NSS error code: " << result.nss_error_code; |
750 return result; | 750 return result; |
751 } | 751 } |
752 | 752 |
753 return AuthResult(); | 753 return AuthResult(); |
754 } | 754 } |
755 | 755 |
756 } // namespace cast_channel | 756 } // namespace cast_channel |
757 } // namespace core_api | 757 } // namespace core_api |
758 } // namespace extensions | 758 } // namespace extensions |
OLD | NEW |