| Index: net/dns/record_parsed.h
|
| diff --git a/net/dns/record_parsed.h b/net/dns/record_parsed.h
|
| index 016c4910bfb21045c9792a2f01d9c63ba39608c1..0557c10e5a00aa1dd3a4198d862987a4c07320ff 100644
|
| --- a/net/dns/record_parsed.h
|
| +++ b/net/dns/record_parsed.h
|
| @@ -33,7 +33,8 @@ class NET_EXPORT_PRIVATE RecordParsed {
|
|
|
| base::Time time_created() const { return time_created_; }
|
|
|
| - template <class T> const T* rdata() const {
|
| + template <class T>
|
| + const T* rdata() const {
|
| if (T::kType != type_)
|
| return NULL;
|
| return static_cast<const T*>(rdata_.get());
|
| @@ -45,8 +46,11 @@ class NET_EXPORT_PRIVATE RecordParsed {
|
| bool IsEqual(const RecordParsed* other, bool is_mdns) const;
|
|
|
| private:
|
| - RecordParsed(const std::string& name, uint16 type, uint16 klass,
|
| - uint32 ttl, scoped_ptr<const RecordRdata> rdata,
|
| + RecordParsed(const std::string& name,
|
| + uint16 type,
|
| + uint16 klass,
|
| + uint32 ttl,
|
| + scoped_ptr<const RecordRdata> rdata,
|
| base::Time time_created);
|
|
|
| std::string name_; // in dotted form
|
|
|