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 732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 << ", NSS error code: " << result.nss_error_code; | 761 << ", NSS error code: " << result.nss_error_code; |
762 return result; | 762 return result; |
763 } | 763 } |
764 | 764 |
765 return AuthResult(); | 765 return AuthResult(); |
766 } | 766 } |
767 | 767 |
768 } // namespace cast_channel | 768 } // namespace cast_channel |
769 } // namespace core_api | 769 } // namespace core_api |
770 } // namespace extensions | 770 } // namespace extensions |
OLD | NEW |