| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DNS_RESPONSE_H_ | 5 #ifndef NET_DNS_DNS_RESPONSE_H_ |
| 6 #define NET_DNS_DNS_RESPONSE_H_ | 6 #define NET_DNS_DNS_RESPONSE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 8 #include <stdint.h> | 9 #include <stdint.h> |
| 9 | 10 |
| 10 #include <string> | 11 #include <string> |
| 11 | 12 |
| 12 #include "base/macros.h" | 13 #include "base/macros.h" |
| 13 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 14 #include "base/strings/string_piece.h" | 15 #include "base/strings/string_piece.h" |
| 15 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 16 #include "net/base/net_export.h" | 17 #include "net/base/net_export.h" |
| 17 | 18 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 // Iterator constructed after InitParse positioned at the answer section. | 162 // Iterator constructed after InitParse positioned at the answer section. |
| 162 // It is never updated afterwards, so can be used in accessors. | 163 // It is never updated afterwards, so can be used in accessors. |
| 163 DnsRecordParser parser_; | 164 DnsRecordParser parser_; |
| 164 | 165 |
| 165 DISALLOW_COPY_AND_ASSIGN(DnsResponse); | 166 DISALLOW_COPY_AND_ASSIGN(DnsResponse); |
| 166 }; | 167 }; |
| 167 | 168 |
| 168 } // namespace net | 169 } // namespace net |
| 169 | 170 |
| 170 #endif // NET_DNS_DNS_RESPONSE_H_ | 171 #endif // NET_DNS_DNS_RESPONSE_H_ |
| OLD | NEW |