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

Side by Side Diff: net/tools/quic/quic_simple_server_packet_writer.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_simple_server_bin.cc ('k') | net/tools/quic/quic_simple_server_session.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 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 #ifndef NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_PACKET_WRITER_H_ 5 #ifndef NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_PACKET_WRITER_H_
6 #define NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_PACKET_WRITER_H_ 6 #define NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_PACKET_WRITER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "net/quic/core/quic_connection.h" 13 #include "net/quic/core/quic_connection.h"
14 #include "net/quic/core/quic_packet_writer.h" 14 #include "net/quic/core/quic_packet_writer.h"
15 #include "net/quic/core/quic_protocol.h" 15 #include "net/quic/core/quic_packets.h"
16 16
17 namespace net { 17 namespace net {
18 18
19 class QuicBlockedWriterInterface; 19 class QuicBlockedWriterInterface;
20 class UDPServerSocket; 20 class UDPServerSocket;
21 struct WriteResult; 21 struct WriteResult;
22 22
23 23
24 // Chrome specific packet writer which uses a UDPServerSocket for writing 24 // Chrome specific packet writer which uses a UDPServerSocket for writing
25 // data. 25 // data.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 bool write_blocked_; 67 bool write_blocked_;
68 68
69 base::WeakPtrFactory<QuicSimpleServerPacketWriter> weak_factory_; 69 base::WeakPtrFactory<QuicSimpleServerPacketWriter> weak_factory_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServerPacketWriter); 71 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServerPacketWriter);
72 }; 72 };
73 73
74 } // namespace net 74 } // namespace net
75 75
76 #endif // NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_PACKET_WRITER_H_ 76 #endif // NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_PACKET_WRITER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_simple_server_bin.cc ('k') | net/tools/quic/quic_simple_server_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698