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

Unified Diff: net/http/http_auth_preferences.cc

Issue 2826273004: Enable loading gssapi library for Chromad. (Closed)
Patch Set: Enable loading gssapi library for Chromad. Created 3 years, 8 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 | « net/http/http_auth_preferences.h ('k') | net/http/http_auth_preferences_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_preferences.cc
diff --git a/net/http/http_auth_preferences.cc b/net/http/http_auth_preferences.cc
index 01df88c2f4554b1b479c9803bb334e1deccd1e17..c9b2d32a54b0e94979bfce756be14067d995f7c4 100644
--- a/net/http/http_auth_preferences.cc
+++ b/net/http/http_auth_preferences.cc
@@ -15,6 +15,10 @@ HttpAuthPreferences::HttpAuthPreferences(
,
const std::string& gssapi_library_name
#endif
+#if defined(OS_CHROMEOS)
+ ,
+ bool allow_gssapi_library_load
+#endif
)
: auth_schemes_(auth_schemes.begin(), auth_schemes.end()),
negotiate_disable_cname_lookup_(false),
@@ -22,6 +26,9 @@ HttpAuthPreferences::HttpAuthPreferences(
#if defined(OS_POSIX) && !defined(OS_ANDROID)
gssapi_library_name_(gssapi_library_name),
#endif
+#if defined(OS_CHROMEOS)
+ allow_gssapi_library_load_(allow_gssapi_library_load),
+#endif
security_manager_(URLSecurityManager::Create()) {
}
@@ -49,6 +56,11 @@ std::string HttpAuthPreferences::GssapiLibraryName() const {
return gssapi_library_name_;
}
#endif
+#if defined(OS_CHROMEOS)
+bool HttpAuthPreferences::AllowGssapiLibraryLoad() const {
+ return allow_gssapi_library_load_;
+}
+#endif
bool HttpAuthPreferences::CanUseDefaultCredentials(
const GURL& auth_origin) const {
« no previous file with comments | « net/http/http_auth_preferences.h ('k') | net/http/http_auth_preferences_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698