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

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

Issue 2183153002: NQE: Move ECT to net:: namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix more compilation errors Created 4 years, 4 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/network_quality_estimator.h » ('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 2016 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_EFFECTIVE_CONNECTION_TYPE_H_
6 #define NET_NQE_EFFECTIVE_CONNECTION_TYPE_H_
7
8 namespace net {
9
10 // EffectiveConnectionType is the connection type whose typical performance is
11 // most similar to the measured performance of the network in use. In many
12 // cases, the "effective" connection type and the actual type of connection in
13 // use are the same, but often a network connection performs significantly
14 // different, usually worse, from its expected capabilities.
mmenke 2016/07/28 19:44:12 grammar nit: different -> differently (It's an ad
tbansal1 2016/07/28 23:58:29 Done.
15 // EffectiveConnectionType of a network is independent of if the current
16 // connection is metered or not. For example, an unmetered slow connection may
17 // have EFFECTIVE_CONNECTION_TYPE_SLOW_2G as its effective connection type.
18 enum EffectiveConnectionType {
19 // The connection types should be in increasing order of quality.
20 EFFECTIVE_CONNECTION_TYPE_UNKNOWN = 0,
21 EFFECTIVE_CONNECTION_TYPE_OFFLINE,
22 EFFECTIVE_CONNECTION_TYPE_SLOW_2G,
23 EFFECTIVE_CONNECTION_TYPE_2G,
24 EFFECTIVE_CONNECTION_TYPE_3G,
25 EFFECTIVE_CONNECTION_TYPE_4G,
26 EFFECTIVE_CONNECTION_TYPE_BROADBAND,
27 EFFECTIVE_CONNECTION_TYPE_LAST,
28 };
29
30 } // namespace net
31
32 #endif // NET_NQE_EFFECTIVE_CONNECTION_TYPE_H_
OLDNEW
« no previous file with comments | « net/net.gypi ('k') | net/nqe/network_quality_estimator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698