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

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

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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 unified diff | Download patch
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"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/message_loop/message_loop.h"
13 #include "base/run_loop.h" 14 #include "base/run_loop.h"
14 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
15 #include "net/base/ip_address.h" 16 #include "net/base/ip_address.h"
16 #include "net/base/ip_endpoint.h" 17 #include "net/base/ip_endpoint.h"
17 #include "net/quic/chromium/crypto/proof_source_chromium.h" 18 #include "net/quic/chromium/crypto/proof_source_chromium.h"
18 #include "net/quic/core/quic_packets.h" 19 #include "net/quic/core/quic_packets.h"
19 #include "net/tools/quic/quic_http_response_cache.h" 20 #include "net/tools/quic/quic_http_response_cache.h"
20 #include "net/tools/quic/quic_simple_server.h" 21 #include "net/tools/quic/quic_simple_server.h"
21 22
22 // The port the quic server will listen on. 23 // The port the quic server will listen on.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 92
92 int rc = server.Listen(net::IPEndPoint(ip, FLAGS_port)); 93 int rc = server.Listen(net::IPEndPoint(ip, FLAGS_port));
93 if (rc < 0) { 94 if (rc < 0) {
94 return 1; 95 return 1;
95 } 96 }
96 97
97 base::RunLoop().Run(); 98 base::RunLoop().Run();
98 99
99 return 0; 100 return 0;
100 } 101 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698