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

Unified Diff: net/base/ip_endpoint.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/base/ip_endpoint.cc
diff --git a/net/base/ip_endpoint.cc b/net/base/ip_endpoint.cc
index a0d378ee4cc6e8e5b29cc668ca475e22a3ca5155..b09ecd00847a198fd0191dcf3d6ffbc67dd15df9 100644
--- a/net/base/ip_endpoint.cc
+++ b/net/base/ip_endpoint.cc
@@ -21,13 +21,15 @@ const socklen_t kSockaddrInSize = sizeof(struct sockaddr_in);
const socklen_t kSockaddrIn6Size = sizeof(struct sockaddr_in6);
}
-IPEndPoint::IPEndPoint() : port_(0) {}
+IPEndPoint::IPEndPoint() : port_(0) {
+}
-IPEndPoint::~IPEndPoint() {}
+IPEndPoint::~IPEndPoint() {
+}
IPEndPoint::IPEndPoint(const IPAddressNumber& address, int port)
- : address_(address),
- port_(port) {}
+ : address_(address), port_(port) {
+}
IPEndPoint::IPEndPoint(const IPEndPoint& endpoint) {
address_ = endpoint.address_;
@@ -91,8 +93,8 @@ bool IPEndPoint::FromSockAddr(const struct sockaddr* sock_addr,
const uint8* address;
size_t address_len;
uint16 port;
- if (!GetIPAddressFromSockAddr(sock_addr, sock_addr_len, &address,
- &address_len, &port)) {
+ if (!GetIPAddressFromSockAddr(
+ sock_addr, sock_addr_len, &address, &address_len, &port)) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698