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

Unified Diff: net/http/http_auth_gssapi_posix.h

Issue 4560001: Support specifying the GSSAPI library that will be used. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix library handling on Windows; port to ToT Created 10 years, 1 month 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
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 3ea113153666367df88101e5c07e2cf3a158f009..7bc426abfd8848c3464bf37be36fb0d40631edc9 100644
--- a/net/http/http_auth_gssapi_posix.h
+++ b/net/http/http_auth_gssapi_posix.h
@@ -95,15 +95,14 @@ class GSSAPILibrary {
int* locally_initiated,
int* open) = 0;
- // Get the default GSSPILibrary instance. The object returned is a singleton
- // instance, and the caller should not delete it.
- static GSSAPILibrary* GetDefault();
};
// GSSAPISharedLibrary class is defined here so that unit tests can access it.
class GSSAPISharedLibrary : public GSSAPILibrary {
public:
- GSSAPISharedLibrary();
+ // Pass an empty string for |gssapi_library_name| to fall back to hard-coded
danno 2010/11/10 16:52:01 // If |gssapi_library_name| is empty, hard-coded d
Jakob Kummerow (corp) 2010/11/10 17:48:39 Done.
+ // default library names.
+ explicit GSSAPISharedLibrary(const std::string& gssapi_library_name);
virtual ~GSSAPISharedLibrary();
// GSSAPILibrary methods:
@@ -179,6 +178,7 @@ class GSSAPISharedLibrary : public GSSAPILibrary {
bool initialized_;
+ std::string gssapi_library_name_;
// Need some way to invalidate the library.
base::NativeLibrary gssapi_library_;

Powered by Google App Engine
This is Rietveld 408576698