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

Unified Diff: net/tools/flip_server/constants.h

Issue 93793004: Format and Refactor Flip Server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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/tools/flip_server/constants.h
diff --git a/net/tools/flip_server/constants.h b/net/tools/flip_server/constants.h
index 8b770a60773b16a5f632a0c7eb39814c1302b5bb..c075f9967497003761b920babe10f22ed62d23ea 100644
--- a/net/tools/flip_server/constants.h
+++ b/net/tools/flip_server/constants.h
@@ -15,15 +15,15 @@ const int kSSLSegmentSize = (1 * kMSS) - kSSLOverhead;
const int kSpdySegmentSize = kSSLSegmentSize - kSpdyOverhead;
#define ACCEPTOR_CLIENT_IDENT \
- acceptor_->listen_ip_ << ":" \
- << acceptor_->listen_port_ << " "
+ acceptor_->listen_ip_ << ":" << acceptor_->listen_port_ << " "
#define NEXT_PROTO_STRING "\x06spdy/2\x08http/1.1\x08http/1.0"
#define SSL_CIPHER_LIST "!aNULL:!ADH:!eNull:!LOW:!EXP:RC4+RSA:MEDIUM:HIGH"
-#define IPV4_PRINTABLE_FORMAT(IP) (((IP)>>0)&0xff), (((IP)>>8)&0xff), \
- (((IP)>>16)&0xff), (((IP)>>24)&0xff)
+#define IPV4_PRINTABLE_FORMAT(IP) \
+ (((IP) >> 0) & 0xff), (((IP) >> 8) & 0xff), (((IP) >> 16) & 0xff), \
+ (((IP) >> 24) & 0xff)
#define PIDFILE "/var/run/flip-server.pid"

Powered by Google App Engine
This is Rietveld 408576698