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

Side by Side Diff: net/quic/core/quic_packet_writer.h

Issue 2531373002: net: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase on top of master branch 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/quic/core/quic_crypto_server_stream.h ('k') | net/quic/core/quic_server_session_base.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_QUIC_PACKET_WRITER_H_ 5 #ifndef NET_QUIC_QUIC_PACKET_WRITER_H_
6 #define NET_QUIC_QUIC_PACKET_WRITER_H_ 6 #define NET_QUIC_QUIC_PACKET_WRITER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
11 #include "net/quic/core/quic_protocol.h" 11 #include "net/quic/core/quic_protocol.h"
12 #include "net/quic/platform/api/quic_socket_address.h" 12 #include "net/quic/platform/api/quic_socket_address.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 class IPAddress;
17 struct WriteResult; 16 struct WriteResult;
18 17
19 class NET_EXPORT_PRIVATE PerPacketOptions { 18 class NET_EXPORT_PRIVATE PerPacketOptions {
20 public: 19 public:
21 PerPacketOptions() = default; 20 PerPacketOptions() = default;
22 virtual ~PerPacketOptions() {} 21 virtual ~PerPacketOptions() {}
23 22
24 // Returns a heap-allocated copy of |this|. 23 // Returns a heap-allocated copy of |this|.
25 virtual PerPacketOptions* Clone() const = 0; 24 virtual PerPacketOptions* Clone() const = 0;
26 25
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Returns the maximum size of the packet which can be written using this 64 // Returns the maximum size of the packet which can be written using this
66 // writer for the supplied peer address. This size may actually exceed the 65 // writer for the supplied peer address. This size may actually exceed the
67 // size of a valid QUIC packet. 66 // size of a valid QUIC packet.
68 virtual QuicByteCount GetMaxPacketSize( 67 virtual QuicByteCount GetMaxPacketSize(
69 const QuicSocketAddress& peer_address) const = 0; 68 const QuicSocketAddress& peer_address) const = 0;
70 }; 69 };
71 70
72 } // namespace net 71 } // namespace net
73 72
74 #endif // NET_QUIC_QUIC_PACKET_WRITER_H_ 73 #endif // NET_QUIC_QUIC_PACKET_WRITER_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_crypto_server_stream.h ('k') | net/quic/core/quic_server_session_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698