Index: net/http/http_auth_gssapi_posix.h |
=================================================================== |
--- net/http/http_auth_gssapi_posix.h (revision 98027) |
+++ net/http/http_auth_gssapi_posix.h (working copy) |
@@ -6,8 +6,6 @@ |
#define NET_HTTP_HTTP_AUTH_GSSAPI_POSIX_H_ |
#pragma once |
-#include <gssapi.h> |
- |
#include <string> |
#include "base/gtest_prod_util.h" |
@@ -16,6 +14,9 @@ |
#include "net/base/net_export.h" |
#include "net/http/http_auth.h" |
+#define GSS_USE_FUNCTION_POINTERS |
+#include "net/third_party/gssapi/gssapi.h" |
+ |
namespace net { |
NET_EXPORT_PRIVATE extern gss_OID CHROME_GSS_C_NT_HOSTBASED_SERVICE_X; |
@@ -167,16 +168,6 @@ |
int* open); |
private: |
- typedef typeof(&gss_import_name) gss_import_name_type; |
- typedef typeof(&gss_release_name) gss_release_name_type; |
- typedef typeof(&gss_release_buffer) gss_release_buffer_type; |
- typedef typeof(&gss_display_name) gss_display_name_type; |
- typedef typeof(&gss_display_status) gss_display_status_type; |
- typedef typeof(&gss_init_sec_context) gss_init_sec_context_type; |
- typedef typeof(&gss_wrap_size_limit) gss_wrap_size_limit_type; |
- typedef typeof(&gss_delete_sec_context) gss_delete_sec_context_type; |
- typedef typeof(&gss_inquire_context) gss_inquire_context_type; |
- |
FRIEND_TEST_ALL_PREFIXES(HttpAuthGSSAPIPOSIXTest, GSSAPIStartup); |
bool InitImpl(); |