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

Unified Diff: net/base/net_util.h

Issue 213423004: Detect IPv6 interface is temporary or not. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: net/base/net_util.h
diff --git a/net/base/net_util.h b/net/base/net_util.h
index 04a9b2dfbe918d7763703e763f0ca1dc607f2c48..10aa47cf9c2d60d2cb1bb42bd9c295ebba70775d 100644
--- a/net/base/net_util.h
+++ b/net/base/net_util.h
@@ -532,8 +532,10 @@ typedef std::vector<NetworkInterface> NetworkInterfaceList;
// Policy settings to include/exclude VMWare host only network interfaces.
enum HostScopeVirtualInterfacePolicy {
agl 2014/03/27 14:52:53 The name and comment of this enum are no longer co
Mallinath (Gone from Chromium) 2014/03/27 19:04:18 Done.
- INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES,
- EXCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES,
+ INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES = 0x1,
+ EXCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES = 0x2,
agl 2014/03/27 14:52:53 why not assign zero to EXCLUDE_HOST_SCOPE_VIRTUAL_
Mallinath (Gone from Chromium) 2014/03/27 19:04:18 Done.
+ // Include temp address only when interface both permanent and temp addresses.
agl 2014/03/27 14:52:53 missing "has"?
Mallinath (Gone from Chromium) 2014/03/27 19:04:18 Done.
+ INCLUDE_IPV6_TEMP_ADDRESS_IF_AVAILABLE = 0x4,
agl 2014/03/27 14:52:53 INCLUDE_ONLY_TEMP_IPV6_ADDRESS_IF_POSSIBLE ?
Mallinath (Gone from Chromium) 2014/03/27 19:04:18 Done.
};
// Returns list of network interfaces except loopback interface. If an
@@ -541,7 +543,7 @@ enum HostScopeVirtualInterfacePolicy {
// the list for each address.
// Can be called only on a thread that allows IO.
NET_EXPORT bool GetNetworkList(NetworkInterfaceList* networks,
- HostScopeVirtualInterfacePolicy policy);
+ int policy);
// General category of the IEEE 802.11 (wifi) physical layer operating mode.
enum WifiPHYLayerProtocol {

Powered by Google App Engine
This is Rietveld 408576698