Index: net/base/address_family.h |
diff --git a/net/base/address_family.h b/net/base/address_family.h |
index 065927f89ead837b6b6ac49b30d73a98f7ddfd9e..919c600870dc5f6aa67afafd2106a47a886b671f 100644 |
--- a/net/base/address_family.h |
+++ b/net/base/address_family.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -15,6 +15,13 @@ enum AddressFamily { |
ADDRESS_FAMILY_IPV6, // AF_INET6 |
}; |
-} // namesapce net |
+// HostResolverFlags is a bitflag enum wrapper around the addrinfo.ai_flags |
+// supported by host resolver procedures. |
+enum { |
+ HOST_RESOLVER_FLAGS_CANONNAME = 1 << 0, // AI_CANONNAME, 0x1 |
+}; |
+typedef int HostResolverFlags; |
+ |
+} // namespace net |
#endif // NET_BASE_ADDRESS_FAMILY_H_ |