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

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

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment Created 6 years, 2 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_writer_wrapper.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 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_TOOLS_QUIC_QUIC_PER_CONNECTION_PACKET_WRITER_H_ 5 #ifndef NET_TOOLS_QUIC_QUIC_PER_CONNECTION_PACKET_WRITER_H_
6 #define NET_TOOLS_QUIC_QUIC_PER_CONNECTION_PACKET_WRITER_H_ 6 #define NET_TOOLS_QUIC_QUIC_PER_CONNECTION_PACKET_WRITER_H_
7 7
8 #include "net/quic/quic_connection.h" 8 #include "net/quic/quic_connection.h"
9 #include "net/quic/quic_packet_writer.h" 9 #include "net/quic/quic_packet_writer.h"
10 10
(...skipping 11 matching lines...) Expand all
22 virtual ~QuicPerConnectionPacketWriter(); 22 virtual ~QuicPerConnectionPacketWriter();
23 23
24 QuicPacketWriter* shared_writer() const { return shared_writer_; } 24 QuicPacketWriter* shared_writer() const { return shared_writer_; }
25 QuicConnection* connection() const { return connection_; } 25 QuicConnection* connection() const { return connection_; }
26 26
27 // Default implementation of the QuicPacketWriter interface: Passes everything 27 // Default implementation of the QuicPacketWriter interface: Passes everything
28 // to |shared_writer_|. 28 // to |shared_writer_|.
29 virtual WriteResult WritePacket(const char* buffer, 29 virtual WriteResult WritePacket(const char* buffer,
30 size_t buf_len, 30 size_t buf_len,
31 const IPAddressNumber& self_address, 31 const IPAddressNumber& self_address,
32 const IPEndPoint& peer_address) OVERRIDE; 32 const IPEndPoint& peer_address) override;
33 virtual bool IsWriteBlockedDataBuffered() const OVERRIDE; 33 virtual bool IsWriteBlockedDataBuffered() const override;
34 virtual bool IsWriteBlocked() const OVERRIDE; 34 virtual bool IsWriteBlocked() const override;
35 virtual void SetWritable() OVERRIDE; 35 virtual void SetWritable() override;
36 36
37 private: 37 private:
38 QuicPacketWriter* shared_writer_; // Not owned. 38 QuicPacketWriter* shared_writer_; // Not owned.
39 QuicConnection* connection_; // Not owned. 39 QuicConnection* connection_; // Not owned.
40 40
41 DISALLOW_COPY_AND_ASSIGN(QuicPerConnectionPacketWriter); 41 DISALLOW_COPY_AND_ASSIGN(QuicPerConnectionPacketWriter);
42 }; 42 };
43 43
44 } // namespace tools 44 } // namespace tools
45 45
46 } // namespace net 46 } // namespace net
47 47
48 #endif // NET_TOOLS_QUIC_QUIC_PER_CONNECTION_PACKET_WRITER_H_ 48 #endif // NET_TOOLS_QUIC_QUIC_PER_CONNECTION_PACKET_WRITER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_packet_writer_wrapper.h ('k') | net/tools/quic/quic_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698