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

Side by Side Diff: net/tools/quic/quic_server_bin.cc

Issue 1472573002: These packets got reformatted at some point, maybe before the clang-format off annotation was added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@107711408
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « net/quic/quic_write_blocked_list_test.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // A binary wrapper for QuicServer. It listens forever on --port 5 // A binary wrapper for QuicServer. It listens forever on --port
6 // (default 6121) until it's killed or ctrl-cd to death. 6 // (default 6121) until it's killed or ctrl-cd to death.
7 7
8 #include <iostream> 8 #include <iostream>
9 9
10 #include "base/at_exit.h" 10 #include "base/at_exit.h"
(...skipping 24 matching lines...) Expand all
35 return new gfe_quic::ProofSourceGoogle3(ssl_ctx, 35 return new gfe_quic::ProofSourceGoogle3(ssl_ctx,
36 /*take_ownership_of_ssl_ctx=*/true); 36 /*take_ownership_of_ssl_ctx=*/true);
37 ======= 37 =======
38 <<<<<<< 38 <<<<<<<
39 CHECK(ssl_ctx->Init( 39 CHECK(ssl_ctx->Init(
40 nullptr /* cert_loader */, NO_AUTHENTICATE_PEER, &config)); 40 nullptr /* cert_loader */, NO_AUTHENTICATE_PEER, &config));
41 ||||||| 41 |||||||
42 SSLContext* ssl_ctx = new SSLContext( 42 SSLContext* ssl_ctx = new SSLContext(
43 SSLContext::SSL_SERVER_CONTEXT_SSL_V23, 43 SSLContext::SSL_SERVER_CONTEXT_SSL_V23,
44 SSL_SESS_CACHE_SERVER | SSL_SESS_CACHE_NO_INTERNAL_STORE); 44 SSL_SESS_CACHE_SERVER | SSL_SESS_CACHE_NO_INTERNAL_STORE);
45 <<<<<<<
45 CHECK(ssl_ctx->Init( 46 CHECK(ssl_ctx->Init(
46 nullptr /* cert_loader */, NO_AUTHENTICATE_PEER, &config)); 47 nullptr /* cert_loader */, NO_AUTHENTICATE_PEER, &config));
48 |||||||
49 CHECK(ssl_ctx->Init(
50 nullptr /* cert_loader */, NO_AUTHENTICATE_PEER, &config));
51
52 return new gfe_quic::ProofSourceGoogle3([=]() { return ssl_ctx; });
53 }
54 =======
55 CHECK(ssl_ctx->Init(NO_AUTHENTICATE_PEER, &config));
56
57 return new gfe_quic::ProofSourceGoogle3([=]() { return ssl_ctx; });
58 }
59 >>>>>>>
Ryan Hamilton 2015/11/22 00:54:41 More merge conflicts?
ianswett 2015/11/23 20:04:50 Done.
47 ======= 60 =======
48 SSLContext* ssl_ctx = new SSLContext( 61 SSLContext* ssl_ctx = new SSLContext(
49 SSLContext::SSL_SERVER_CONTEXT_SSL_V23, 62 SSLContext::SSL_SERVER_CONTEXT_SSL_V23,
50 SSL_SESS_CACHE_SERVER | SSL_SESS_CACHE_NO_INTERNAL_STORE); 63 SSL_SESS_CACHE_SERVER | SSL_SESS_CACHE_NO_INTERNAL_STORE);
51 CHECK(ssl_ctx->Init(NO_AUTHENTICATE_PEER, &config)); 64 CHECK(ssl_ctx->Init(NO_AUTHENTICATE_PEER, &config));
52 >>>>>>> 65 >>>>>>>
53 66
54 return new gfe_quic::ProofSourceGoogle3([=]() { return ssl_ctx; }); 67 return new gfe_quic::ProofSourceGoogle3([=]() { return ssl_ctx; });
55 >>>>>>> 68 >>>>>>>
56 } 69 }
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 128
116 int rc = server.Listen(net::IPEndPoint(ip, FLAGS_port)); 129 int rc = server.Listen(net::IPEndPoint(ip, FLAGS_port));
117 if (rc < 0) { 130 if (rc < 0) {
118 return 1; 131 return 1;
119 } 132 }
120 133
121 while (1) { 134 while (1) {
122 server.WaitForEvents(); 135 server.WaitForEvents();
123 } 136 }
124 } 137 }
OLDNEW
« no previous file with comments | « net/quic/quic_write_blocked_list_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698