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

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

Issue 1942893002: Split NQE to multiple files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
(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_NETWORK_QUALITY_OBSERVATION_SOURCE_H_
6 #define NET_NQE_NETWORK_QUALITY_OBSERVATION_SOURCE_H_
7
8 namespace net {
9
10 // On Android, a Java counterpart will be generated for this enum.
bengr 2016/05/03 21:59:45 Can the generator handle blank lines? If so I'd ad
tbansal1 2016/05/04 22:07:24 Done.
11 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.net
12 // GENERATED_JAVA_CLASS_NAME_OVERRIDE: NetworkQualityObservationSource
13 // GENERATED_JAVA_PREFIX_TO_STRIP: NETWORK_QUALITY_OBSERVATION_SOURCE_
14 enum NetworkQualityObservationSource {
15 // The observation was taken at the request layer, e.g., a round trip time
16 // is recorded as the time between the request being sent and the first byte
17 // being received.
18 NETWORK_QUALITY_OBSERVATION_SOURCE_URL_REQUEST = 0,
19 // The observation is taken from TCP statistics maintained by the kernel.
20 NETWORK_QUALITY_OBSERVATION_SOURCE_TCP,
21 // The observation is taken at the QUIC layer.
22 NETWORK_QUALITY_OBSERVATION_SOURCE_QUIC,
23 // The observation is a previously cached estimate of the metric.
24 NETWORK_QUALITY_OBSERVATION_SOURCE_CACHED_ESTIMATE,
25 // The observation is derived from network connection information provided
26 // by the platform. For example, typical RTT and throughput values are used
27 // for a given type of network connection.
28 NETWORK_QUALITY_OBSERVATION_SOURCE_DEFAULT_FROM_PLATFORM,
29 // The observation came from a Chromium-external source.
30 NETWORK_QUALITY_OBSERVATION_SOURCE_EXTERNAL_ESTIMATE
31 };
32
33 } // namespace net
34
35 #endif // NET_NQE_NETWORK_QUALITY_OBSERVATION_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698