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

Unified Diff: net/http/http_auth_preferences.h

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_handler_negotiate.cc ('k') | net/http/http_auth_preferences.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_preferences.h
diff --git a/net/http/http_auth_preferences.h b/net/http/http_auth_preferences.h
index 4f3a68befb60e987ef613ac70e26617425b868ff..a77b193d159f68e77dd432c277eb2434dd035d64 100644
--- a/net/http/http_auth_preferences.h
+++ b/net/http/http_auth_preferences.h
@@ -27,6 +27,10 @@ class NET_EXPORT HttpAuthPreferences {
,
const std::string& gssapi_library_name
#endif
+#if defined(OS_CHROMEOS)
+ ,
+ bool allow_gssapi_library_load
+#endif
);
virtual ~HttpAuthPreferences();
@@ -39,6 +43,9 @@ class NET_EXPORT HttpAuthPreferences {
#if defined(OS_POSIX) && !defined(OS_ANDROID)
virtual std::string GssapiLibraryName() const;
#endif
+#if defined(OS_CHROMEOS)
+ virtual bool AllowGssapiLibraryLoad() const;
+#endif
virtual bool CanUseDefaultCredentials(const GURL& auth_origin) const;
virtual bool CanDelegate(const GURL& auth_origin) const;
@@ -77,6 +84,9 @@ class NET_EXPORT HttpAuthPreferences {
// sorts of problems for, for example, active Negotiate transactions.
const std::string gssapi_library_name_;
#endif
+#if defined(OS_CHROMEOS)
+ bool allow_gssapi_library_load_;
+#endif
std::unique_ptr<URLSecurityManager> security_manager_;
DISALLOW_COPY_AND_ASSIGN(HttpAuthPreferences);
};
« no previous file with comments | « net/http/http_auth_handler_negotiate.cc ('k') | net/http/http_auth_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698