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_; |