| Index: net/dns/record_parsed.cc
|
| diff --git a/net/dns/record_parsed.cc b/net/dns/record_parsed.cc
|
| index 4ae6ed292105248319fcbd90285ec2a886182f76..f3cc030d3064995a7b2afdf1bbe5d77b90b21ad3 100644
|
| --- a/net/dns/record_parsed.cc
|
| +++ b/net/dns/record_parsed.cc
|
| @@ -10,10 +10,17 @@
|
|
|
| namespace net {
|
|
|
| -RecordParsed::RecordParsed(const std::string& name, uint16 type, uint16 klass,
|
| - uint32 ttl, scoped_ptr<const RecordRdata> rdata,
|
| +RecordParsed::RecordParsed(const std::string& name,
|
| + uint16 type,
|
| + uint16 klass,
|
| + uint32 ttl,
|
| + scoped_ptr<const RecordRdata> rdata,
|
| base::Time time_created)
|
| - : name_(name), type_(type), klass_(klass), ttl_(ttl), rdata_(rdata.Pass()),
|
| + : name_(name),
|
| + type_(type),
|
| + klass_(klass),
|
| + ttl_(ttl),
|
| + rdata_(rdata.Pass()),
|
| time_created_(time_created) {
|
| }
|
|
|
| @@ -78,9 +85,7 @@ bool RecordParsed::IsEqual(const RecordParsed* other, bool is_mdns) const {
|
| other_klass &= dns_protocol::kMDnsClassMask;
|
| }
|
|
|
| - return name_ == other->name_ &&
|
| - klass == other_klass &&
|
| - type_ == other->type_ &&
|
| - rdata_->IsEqual(other->rdata_.get());
|
| + return name_ == other->name_ && klass == other_klass &&
|
| + type_ == other->type_ && rdata_->IsEqual(other->rdata_.get());
|
| }
|
| }
|
|
|