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

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

Issue 1640343002: relnote: moves ProcessPacketInterface from quic_dispatcher.h to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed usage of net/tools/quic/quic_packet_reader.h from quic_client.h Created 4 years, 10 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/tools/quic/quic_packet_reader.cc ('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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef NET_TOOLS_QUIC_QUIC_PROCESS_PACKET_INTERFACE_H_
6 #define NET_TOOLS_QUIC_QUIC_PROCESS_PACKET_INTERFACE_H_
7
8 #include "base/macros.h"
9 #include "net/base/ip_endpoint.h"
10 #include "net/quic/quic_protocol.h"
11
12 namespace net {
13
14 namespace tools {
15
16 // A class to process each incoming packet.
17 class ProcessPacketInterface {
18 public:
19 virtual ~ProcessPacketInterface() {}
20 virtual void ProcessPacket(const IPEndPoint& server_address,
21 const IPEndPoint& client_address,
22 const QuicEncryptedPacket& packet) = 0;
23 };
24
25 } // namespace tools
26
27 } // namespace net
28
29 #endif // NET_TOOLS_QUIC_QUIC_PROCESS_PACKET_INTERFACE_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_packet_reader.cc ('k') | net/tools/quic/quic_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698