| 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 NET_CERT_INTERNAL_NAME_CONSTRAINTS_H_ | 5 #ifndef NET_CERT_INTERNAL_NAME_CONSTRAINTS_H_ |
| 6 #define NET_CERT_INTERNAL_NAME_CONSTRAINTS_H_ | 6 #define NET_CERT_INTERNAL_NAME_CONSTRAINTS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 12 #include "net/base/ip_address_number.h" | 14 #include "net/base/ip_address_number.h" |
| 13 | 15 |
| 14 namespace net { | 16 namespace net { |
| 15 | 17 |
| 16 namespace der { | 18 namespace der { |
| 17 class Input; | 19 class Input; |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 bool Parse(const der::Input& extension_value, | 129 bool Parse(const der::Input& extension_value, |
| 128 bool is_critical) WARN_UNUSED_RESULT; | 130 bool is_critical) WARN_UNUSED_RESULT; |
| 129 | 131 |
| 130 GeneralNames permitted_subtrees_; | 132 GeneralNames permitted_subtrees_; |
| 131 GeneralNames excluded_subtrees_; | 133 GeneralNames excluded_subtrees_; |
| 132 }; | 134 }; |
| 133 | 135 |
| 134 } // namespace net | 136 } // namespace net |
| 135 | 137 |
| 136 #endif // NET_CERT_INTERNAL_NAME_CONSTRAINTS_H_ | 138 #endif // NET_CERT_INTERNAL_NAME_CONSTRAINTS_H_ |
| OLD | NEW |