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

Side by Side Diff: net/quic/quic_connection_logger.h

Issue 242643009: Added DISALLOW_COPY_AND_ASSIGN to disable copy/assign. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merging with TOT and internal CL: 65311983 Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_clock.h ('k') | net/quic/quic_crypto_server_stream.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_CONNECTION_LOGGER_H_ 5 #ifndef NET_QUIC_QUIC_CONNECTION_LOGGER_H_
6 #define NET_QUIC_QUIC_CONNECTION_LOGGER_H_ 6 #define NET_QUIC_QUIC_CONNECTION_LOGGER_H_
7 7
8 #include <bitset> 8 #include <bitset>
9 9
10 #include "net/base/ip_endpoint.h" 10 #include "net/base/ip_endpoint.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // false means never received. Zero is not a valid packet sequence number, so 135 // false means never received. Zero is not a valid packet sequence number, so
136 // that offset is never used, and we'll track 150 packets. 136 // that offset is never used, and we'll track 150 packets.
137 std::bitset<151> received_packets_; 137 std::bitset<151> received_packets_;
138 // Vector to indicate which of the initial 150 received packets turned out to 138 // Vector to indicate which of the initial 150 received packets turned out to
139 // contain solo ACK frames. An element is true iff an ACK frame was in the 139 // contain solo ACK frames. An element is true iff an ACK frame was in the
140 // corresponding packet, and there was very little else. 140 // corresponding packet, and there was very little else.
141 std::bitset<151> received_acks_; 141 std::bitset<151> received_acks_;
142 // The available type of connection (WiFi, 3G, etc.) when connection was first 142 // The available type of connection (WiFi, 3G, etc.) when connection was first
143 // used. 143 // used.
144 const char* const connection_description_; 144 const char* const connection_description_;
145
145 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); 146 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger);
146 }; 147 };
147 148
148 } // namespace net 149 } // namespace net
149 150
150 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ 151 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_clock.h ('k') | net/quic/quic_crypto_server_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698