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

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

Issue 2720513002: Change the string representation of Slow2G ECT (Closed)
Patch Set: ryansturm comments Created 3 years, 9 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 | « no previous file | net/nqe/effective_connection_type.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 #ifndef NET_NQE_EFFECTIVE_CONNECTION_TYPE_H_ 5 #ifndef NET_NQE_EFFECTIVE_CONNECTION_TYPE_H_
6 #define NET_NQE_EFFECTIVE_CONNECTION_TYPE_H_ 6 #define NET_NQE_EFFECTIVE_CONNECTION_TYPE_H_
7 7
8 #include "base/strings/string_piece.h" 8 #include "base/strings/string_piece.h"
9 #include "net/base/net_export.h" 9 #include "net/base/net_export.h"
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Returns true if the EffectiveConnectionType that corresponds to 57 // Returns true if the EffectiveConnectionType that corresponds to
58 // |connection_type_name| is available, and sets |effective_connection_type| to 58 // |connection_type_name| is available, and sets |effective_connection_type| to
59 // that value. If the effective connection type is unavailable, false is 59 // that value. If the effective connection type is unavailable, false is
60 // returned, and |effective_connection_type| is set to 60 // returned, and |effective_connection_type| is set to
61 // EFFECTIVE_CONNECTION_TYPE_UNKNOWN. |effective_connection_type| must be 61 // EFFECTIVE_CONNECTION_TYPE_UNKNOWN. |effective_connection_type| must be
62 // non-null. 62 // non-null.
63 NET_EXPORT bool GetEffectiveConnectionTypeForName( 63 NET_EXPORT bool GetEffectiveConnectionTypeForName(
64 base::StringPiece connection_type_name, 64 base::StringPiece connection_type_name,
65 EffectiveConnectionType* effective_connection_type); 65 EffectiveConnectionType* effective_connection_type);
66 66
67 // Returns the string equivalent of |type|. Deprecated, and replaced by
68 // GetNameForEffectiveConnectionType.
69 NET_EXPORT_PRIVATE const char* DeprecatedGetNameForEffectiveConnectionType(
70 EffectiveConnectionType type);
71
67 } // namespace net 72 } // namespace net
68 73
69 #endif // NET_NQE_EFFECTIVE_CONNECTION_TYPE_H_ 74 #endif // NET_NQE_EFFECTIVE_CONNECTION_TYPE_H_
OLDNEW
« no previous file with comments | « no previous file | net/nqe/effective_connection_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698