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

Side by Side Diff: net/quic/test_tools/simulator/quic_endpoint.h

Issue 2926553004: Remove trailing semicolon at the end of a method definition (Closed)
Patch Set: rebase Created 3 years, 6 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
« no previous file with comments | « net/quic/core/quic_crypto_client_stream.h ('k') | net/spdy/core/array_output_buffer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef NET_QUIC_TEST_TOOLS_SIMULATOR_QUIC_ENDPOINT_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_SIMULATOR_QUIC_ENDPOINT_H_
6 #define NET_QUIC_TEST_TOOLS_SIMULATOR_QUIC_ENDPOINT_H_ 6 #define NET_QUIC_TEST_TOOLS_SIMULATOR_QUIC_ENDPOINT_H_
7 7
8 #include "net/quic/core/crypto/null_decrypter.h" 8 #include "net/quic/core/crypto/null_decrypter.h"
9 #include "net/quic/core/crypto/null_encrypter.h" 9 #include "net/quic/core/crypto/null_encrypter.h"
10 #include "net/quic/core/quic_connection.h" 10 #include "net/quic/core/quic_connection.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 ~QuicEndpointMultiplexer() override; 151 ~QuicEndpointMultiplexer() override;
152 152
153 // Receives a packet and passes it to the specified endpoint if that endpoint 153 // Receives a packet and passes it to the specified endpoint if that endpoint
154 // is one of the endpoints being multiplexed, otherwise ignores the packet. 154 // is one of the endpoints being multiplexed, otherwise ignores the packet.
155 void AcceptPacket(std::unique_ptr<Packet> packet) override; 155 void AcceptPacket(std::unique_ptr<Packet> packet) override;
156 UnconstrainedPortInterface* GetRxPort() override; 156 UnconstrainedPortInterface* GetRxPort() override;
157 157
158 // Sets the egress port for all the endpoints being multiplexed. 158 // Sets the egress port for all the endpoints being multiplexed.
159 void SetTxPort(ConstrainedPortInterface* port) override; 159 void SetTxPort(ConstrainedPortInterface* port) override;
160 160
161 void Act() override{}; 161 void Act() override {}
162 162
163 private: 163 private:
164 std::unordered_map<std::string, QuicEndpoint*> mapping_; 164 std::unordered_map<std::string, QuicEndpoint*> mapping_;
165 }; 165 };
166 166
167 } // namespace simulator 167 } // namespace simulator
168 } // namespace net 168 } // namespace net
169 169
170 #endif // NET_QUIC_TEST_TOOLS_SIMULATOR_QUIC_ENDPOINT_H_ 170 #endif // NET_QUIC_TEST_TOOLS_SIMULATOR_QUIC_ENDPOINT_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_crypto_client_stream.h ('k') | net/spdy/core/array_output_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698