| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_DNS_RECORD_RDATA_H_ | 5 #ifndef NET_DNS_RECORD_RDATA_H_ |
| 6 #define NET_DNS_RECORD_RDATA_H_ | 6 #define NET_DNS_RECORD_RDATA_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/strings/string_piece.h" | 14 #include "base/strings/string_piece.h" |
| 15 #include "net/base/big_endian.h" | |
| 16 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" |
| 17 #include "net/base/net_util.h" | 16 #include "net/base/net_util.h" |
| 18 #include "net/dns/dns_protocol.h" | 17 #include "net/dns/dns_protocol.h" |
| 19 | 18 |
| 20 namespace net { | 19 namespace net { |
| 21 | 20 |
| 22 class DnsRecordParser; | 21 class DnsRecordParser; |
| 23 | 22 |
| 24 // Parsed represenation of the extra data in a record. Does not include standard | 23 // Parsed represenation of the extra data in a record. Does not include standard |
| 25 // DNS record data such as TTL, Name, Type and Class. | 24 // DNS record data such as TTL, Name, Type and Class. |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 207 |
| 209 std::vector<uint8> bitmap_; | 208 std::vector<uint8> bitmap_; |
| 210 | 209 |
| 211 DISALLOW_COPY_AND_ASSIGN(NsecRecordRdata); | 210 DISALLOW_COPY_AND_ASSIGN(NsecRecordRdata); |
| 212 }; | 211 }; |
| 213 | 212 |
| 214 | 213 |
| 215 } // namespace net | 214 } // namespace net |
| 216 | 215 |
| 217 #endif // NET_DNS_RECORD_RDATA_H_ | 216 #endif // NET_DNS_RECORD_RDATA_H_ |
| OLD | NEW |