Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: net/dns/record_parsed.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
}
}

Powered by Google App Engine
This is Rietveld 408576698