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

Side by Side Diff: net/nqe/event_creator.h

Issue 2593243003: Add network quality change events to net log (Closed)
Patch Set: rebased Created 3 years, 11 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/net.gypi ('k') | net/nqe/event_creator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_NQE_EVENT_CREATOR_H_
6 #define NET_NQE_EVENT_CREATOR_H_
7
8 #include <stdint.h>
9
10 #include "base/time/time.h"
11 #include "net/nqe/effective_connection_type.h"
12
13 namespace net {
14
15 class NetLogWithSource;
16
17 namespace nqe {
18
19 namespace internal {
20
21 // Adds network quality changed event to the net-internals log. |http_rtt| is
22 // the estimate of the HTTP RTT. |transport_rtt| is the estimate of the
23 // transport RTT. |downstream_throughput_kbps| is the estimate of the
24 // downstream throughput (in kilobits per second). |effective_connection_type|
25 // is the current estimate of the effective connection type.
26 void AddEffectiveConnectionTypeChangedEventToNetLog(
27 const NetLogWithSource& net_log,
28 base::TimeDelta http_rtt,
29 base::TimeDelta transport_rtt,
30 int32_t downstream_throughput_kbps,
31 EffectiveConnectionType effective_connection_type);
32
33 } // namespace internal
34
35 } // namespace nqe
36
37 } // namespace net
38
39 #endif // NET_NQE_EVENT_CREATOR_H_
OLDNEW
« no previous file with comments | « net/net.gypi ('k') | net/nqe/event_creator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698