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

Side by Side Diff: net/quic/quic_sent_entropy_manager.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_received_packet_manager.h ('k') | net/quic/quic_socket_address_coder.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 // Manages the packet entropy calculation for both sent and received packets 5 // Manages the packet entropy calculation for both sent and received packets
6 // for a connection. 6 // for a connection.
7 7
8 #ifndef NET_QUIC_QUIC_SENT_ENTROPY_MANAGER_H_ 8 #ifndef NET_QUIC_QUIC_SENT_ENTROPY_MANAGER_H_
9 #define NET_QUIC_QUIC_SENT_ENTROPY_MANAGER_H_ 9 #define NET_QUIC_QUIC_SENT_ENTROPY_MANAGER_H_
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 typedef linked_hash_map<QuicPacketSequenceNumber, 44 typedef linked_hash_map<QuicPacketSequenceNumber,
45 std::pair<QuicPacketEntropyHash, 45 std::pair<QuicPacketEntropyHash,
46 QuicPacketEntropyHash> > SentEntropyMap; 46 QuicPacketEntropyHash> > SentEntropyMap;
47 47
48 // Linked hash map from sequence numbers to the sent entropy hash up to the 48 // Linked hash map from sequence numbers to the sent entropy hash up to the
49 // sequence number in the key. 49 // sequence number in the key.
50 SentEntropyMap packets_entropy_; 50 SentEntropyMap packets_entropy_;
51 51
52 // Cumulative hash of entropy of all sent packets. 52 // Cumulative hash of entropy of all sent packets.
53 QuicPacketEntropyHash packets_entropy_hash_; 53 QuicPacketEntropyHash packets_entropy_hash_;
54
55 DISALLOW_COPY_AND_ASSIGN(QuicSentEntropyManager);
54 }; 56 };
55 57
56 } // namespace net 58 } // namespace net
57 59
58 #endif // NET_QUIC_QUIC_SENT_ENTROPY_MANAGER_H_ 60 #endif // NET_QUIC_QUIC_SENT_ENTROPY_MANAGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_received_packet_manager.h ('k') | net/quic/quic_socket_address_coder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698