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

Unified Diff: net/http/http_auth_gssapi_posix.h

Issue 7655046: Linux: allow linking directly with Kerberos instead of using dlopen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Hopefully fix ChromeOS Created 9 years, 4 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
« no previous file with comments | « build/install-build-deps.sh ('k') | net/http/http_auth_gssapi_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_gssapi_posix.h
diff --git a/net/http/http_auth_gssapi_posix.h b/net/http/http_auth_gssapi_posix.h
index b1b1227d31b6c6181b46ae2f8e2b88e8f90f4a9e..8e8a11407a7aadbb0e40dd6bdd9d9f7c8dcea5f8 100644
--- a/net/http/http_auth_gssapi_posix.h
+++ b/net/http/http_auth_gssapi_posix.h
@@ -6,6 +6,8 @@
#define NET_HTTP_HTTP_AUTH_GSSAPI_POSIX_H_
#pragma once
+#include <gssapi.h>
+
#include <string>
#include "base/gtest_prod_util.h"
@@ -14,9 +16,6 @@
#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;
@@ -168,6 +167,16 @@ class NET_EXPORT_PRIVATE GSSAPISharedLibrary : public GSSAPILibrary {
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();
« no previous file with comments | « build/install-build-deps.sh ('k') | net/http/http_auth_gssapi_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698