summaryrefslogtreecommitdiffstats
path: root/net/base/address_family.h
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-23 04:35:31 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-23 04:35:31 +0000
commitdd03033d9669dbad7e6ac3cfaa220593c0534a2d (patch)
treef5223738273e1d6052bf0e6599d6bcb5d85d557b /net/base/address_family.h
parent36e93a7796e1551fafeaaed832f166a2a6d9bb2b (diff)
downloadchromium_src-dd03033d9669dbad7e6ac3cfaa220593c0534a2d.zip
chromium_src-dd03033d9669dbad7e6ac3cfaa220593c0534a2d.tar.gz
chromium_src-dd03033d9669dbad7e6ac3cfaa220593c0534a2d.tar.bz2
Refactor: Address some style comments from a review (which missed the original check-in).
Review URL: http://codereview.chromium.org/322009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29874 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/address_family.h')
-rw-r--r--net/base/address_family.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/base/address_family.h b/net/base/address_family.h
index faa9193..065927f 100644
--- a/net/base/address_family.h
+++ b/net/base/address_family.h
@@ -8,10 +8,11 @@
namespace net {
// Enum wrapper around the address family types supported by host resolver
-// procedures. These correspond with AF_UNSPEC and AF_INET.
+// procedures.
enum AddressFamily {
- ADDRESS_FAMILY_UNSPECIFIED,
- ADDRESS_FAMILY_IPV4_ONLY,
+ ADDRESS_FAMILY_UNSPECIFIED, // AF_UNSPEC
+ ADDRESS_FAMILY_IPV4, // AF_INET
+ ADDRESS_FAMILY_IPV6, // AF_INET6
};
} // namesapce net