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

Unified Diff: net/tools/quic/quic_client_bin.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/tools/quic/quic_client_bin.cc
diff --git a/net/tools/quic/quic_client_bin.cc b/net/tools/quic/quic_client_bin.cc
index 204f3f501963d8bcdc3feea2b66eacd2c151b67d..f3c81eb1db3beaaf7ea80161c95002ee926148f2 100644
--- a/net/tools/quic/quic_client_bin.cc
+++ b/net/tools/quic/quic_client_bin.cc
@@ -34,7 +34,7 @@ int32 FLAGS_initial_flow_control_window = 100 * net::kMaxPacketSize;
// Check the certificates using proof verifier.
bool FLAGS_secure = false;
-int main(int argc, char *argv[]) {
+int main(int argc, char* argv[]) {
CommandLine::Init(argc, argv);
CommandLine* line = CommandLine::ForCurrentProcess();
@@ -70,10 +70,8 @@ int main(int argc, char *argv[]) {
if (line->HasSwitch("secure")) {
FLAGS_secure = true;
}
- VLOG(1) << "server port: " << FLAGS_port
- << " address: " << FLAGS_address
- << " hostname: " << FLAGS_hostname
- << " secure: " << FLAGS_secure;
+ VLOG(1) << "server port: " << FLAGS_port << " address: " << FLAGS_address
+ << " hostname: " << FLAGS_hostname << " secure: " << FLAGS_secure;
base::AtExitManager exit_manager;
@@ -82,13 +80,16 @@ int main(int argc, char *argv[]) {
// TODO(rjshade): Set version on command line.
net::tools::QuicClient client(
net::IPEndPoint(addr, FLAGS_port),
- net::QuicServerId(FLAGS_hostname, FLAGS_port, FLAGS_secure,
- net::PRIVACY_MODE_DISABLED),
- net::QuicSupportedVersions(), true, FLAGS_initial_flow_control_window);
+ net::QuicServerId(
+ FLAGS_hostname, FLAGS_port, FLAGS_secure, net::PRIVACY_MODE_DISABLED),
+ net::QuicSupportedVersions(),
+ true,
+ FLAGS_initial_flow_control_window);
client.Initialize();
- if (!client.Connect()) return 1;
+ if (!client.Connect())
+ return 1;
client.SendRequestsAndWaitForResponse(line->GetArgs());
return 0;

Powered by Google App Engine
This is Rietveld 408576698