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_PARSED_H_ | 5 #ifndef NET_DNS_RECORD_PARSED_H_ |
6 #define NET_DNS_RECORD_PARSED_H_ | 6 #define NET_DNS_RECORD_PARSED_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/time.h" | 11 #include "base/time/time.h" |
12 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 | 15 |
16 class DnsRecordParser; | 16 class DnsRecordParser; |
17 class RecordRdata; | 17 class RecordRdata; |
18 | 18 |
19 // Parsed record. This is a form of DnsResourceRecord where the rdata section | 19 // Parsed record. This is a form of DnsResourceRecord where the rdata section |
20 // has been parsed into a data structure. | 20 // has been parsed into a data structure. |
21 class NET_EXPORT_PRIVATE RecordParsed { | 21 class NET_EXPORT_PRIVATE RecordParsed { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 const uint32 ttl_; | 55 const uint32 ttl_; |
56 | 56 |
57 const scoped_ptr<const RecordRdata> rdata_; | 57 const scoped_ptr<const RecordRdata> rdata_; |
58 | 58 |
59 const base::Time time_created_; | 59 const base::Time time_created_; |
60 }; | 60 }; |
61 | 61 |
62 } // namespace net | 62 } // namespace net |
63 | 63 |
64 #endif // NET_DNS_RECORD_PARSED_H_ | 64 #endif // NET_DNS_RECORD_PARSED_H_ |
OLD | NEW |