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

Side by Side Diff: net/tools/quic/quic_process_packet_interface.h

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage Created 4 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 unified diff | Download patch
« no previous file with comments | « net/tools/quic/quic_packet_reader.h ('k') | net/tools/quic/quic_server.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_TOOLS_QUIC_QUIC_PROCESS_PACKET_INTERFACE_H_ 5 #ifndef NET_TOOLS_QUIC_QUIC_PROCESS_PACKET_INTERFACE_H_
6 #define NET_TOOLS_QUIC_QUIC_PROCESS_PACKET_INTERFACE_H_ 6 #define NET_TOOLS_QUIC_QUIC_PROCESS_PACKET_INTERFACE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "net/quic/core/quic_protocol.h" 9 #include "net/quic/core/quic_packets.h"
10 #include "net/quic/platform/api/quic_socket_address.h" 10 #include "net/quic/platform/api/quic_socket_address.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 // A class to process each incoming packet. 14 // A class to process each incoming packet.
15 class ProcessPacketInterface { 15 class ProcessPacketInterface {
16 public: 16 public:
17 virtual ~ProcessPacketInterface() {} 17 virtual ~ProcessPacketInterface() {}
18 virtual void ProcessPacket(const QuicSocketAddress& server_address, 18 virtual void ProcessPacket(const QuicSocketAddress& server_address,
19 const QuicSocketAddress& client_address, 19 const QuicSocketAddress& client_address,
20 const QuicReceivedPacket& packet) = 0; 20 const QuicReceivedPacket& packet) = 0;
21 }; 21 };
22 22
23 } // namespace net 23 } // namespace net
24 24
25 #endif // NET_TOOLS_QUIC_QUIC_PROCESS_PACKET_INTERFACE_H_ 25 #endif // NET_TOOLS_QUIC_QUIC_PROCESS_PACKET_INTERFACE_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_packet_reader.h ('k') | net/tools/quic/quic_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698