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

Side by Side Diff: net/quic/chromium/quic_chromium_packet_reader.h

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 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
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 5
6 #ifndef NET_QUIC_QUIC_CHROMIUM_PACKET_READER_H_ 6 #ifndef NET_QUIC_QUIC_CHROMIUM_PACKET_READER_H_
7 #define NET_QUIC_QUIC_CHROMIUM_PACKET_READER_H_ 7 #define NET_QUIC_QUIC_CHROMIUM_PACKET_READER_H_
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "net/base/io_buffer.h" 11 #include "net/base/io_buffer.h"
12 #include "net/base/net_export.h" 12 #include "net/base/net_export.h"
13 #include "net/log/net_log.h" 13 #include "net/log/net_log_with_source.h"
14 #include "net/quic/core/quic_protocol.h" 14 #include "net/quic/core/quic_protocol.h"
15 #include "net/quic/core/quic_time.h" 15 #include "net/quic/core/quic_time.h"
16 #include "net/udp/datagram_client_socket.h" 16 #include "net/udp/datagram_client_socket.h"
17 17
18 namespace net { 18 namespace net {
19 19
20 class QuicClock; 20 class QuicClock;
21 21
22 // If more than this many packets have been read or more than that many 22 // If more than this many packets have been read or more than that many
23 // milliseconds have passed, QuicChromiumPacketReader::StartReading() yields by 23 // milliseconds have passed, QuicChromiumPacketReader::StartReading() yields by
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 NetLogWithSource net_log_; 65 NetLogWithSource net_log_;
66 66
67 base::WeakPtrFactory<QuicChromiumPacketReader> weak_factory_; 67 base::WeakPtrFactory<QuicChromiumPacketReader> weak_factory_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(QuicChromiumPacketReader); 69 DISALLOW_COPY_AND_ASSIGN(QuicChromiumPacketReader);
70 }; 70 };
71 71
72 } // namespace net 72 } // namespace net
73 73
74 #endif // NET_QUIC_QUIC_CHROMIUM_PACKET_READER_H_ 74 #endif // NET_QUIC_QUIC_CHROMIUM_PACKET_READER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698