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

Unified Diff: net/dns/record_parsed.h

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.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

Powered by Google App Engine
This is Rietveld 408576698