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

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

Issue 2396503002: Fix net_export.h includes. (Closed)
Patch Set: 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // QuicBandwidth represents a bandwidth, stored in bits per second resolution. 5 // QuicBandwidth represents a bandwidth, stored in bits per second resolution.
6 6
7 #ifndef NET_QUIC_QUIC_BANDWIDTH_H_ 7 #ifndef NET_QUIC_QUIC_BANDWIDTH_H_
8 #define NET_QUIC_QUIC_BANDWIDTH_H_ 8 #define NET_QUIC_QUIC_BANDWIDTH_H_
9 9
10 #include <stdint.h> 10 #include <stdint.h>
11 11
12 #include <cmath> 12 #include <cmath>
13 #include <ostream> 13 #include <ostream>
14 14
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "net/base/net_export.h"
16 #include "net/quic/core/quic_time.h" 17 #include "net/quic/core/quic_time.h"
17 18
18 namespace net { 19 namespace net {
19 20
20 typedef uint64_t QuicByteCount; 21 typedef uint64_t QuicByteCount;
21 typedef uint64_t QuicPacketCount; 22 typedef uint64_t QuicPacketCount;
22 23
23 class NET_EXPORT_PRIVATE QuicBandwidth { 24 class NET_EXPORT_PRIVATE QuicBandwidth {
24 public: 25 public:
25 // Creates a new QuicBandwidth with an internal value of 0. 26 // Creates a new QuicBandwidth with an internal value of 0.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 115
115 // Override stream output operator for gtest. 116 // Override stream output operator for gtest.
116 inline std::ostream& operator<<(std::ostream& output, 117 inline std::ostream& operator<<(std::ostream& output,
117 const QuicBandwidth bandwidth) { 118 const QuicBandwidth bandwidth) {
118 output << bandwidth.ToDebugValue(); 119 output << bandwidth.ToDebugValue();
119 return output; 120 return output;
120 } 121 }
121 122
122 } // namespace net 123 } // namespace net
123 #endif // NET_QUIC_QUIC_BANDWIDTH_H_ 124 #endif // NET_QUIC_QUIC_BANDWIDTH_H_
OLDNEW
« no previous file with comments | « net/quic/core/crypto/quic_compressed_certs_cache.h ('k') | net/quic/core/quic_buffered_packet_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698