| Index: net/http/http_auth_handler_mock.h
|
| ===================================================================
|
| --- net/http/http_auth_handler_mock.h (revision 54613)
|
| +++ net/http/http_auth_handler_mock.h (working copy)
|
| @@ -10,7 +10,6 @@
|
|
|
| #include "base/string16.h"
|
| #include "base/task.h"
|
| -#include "googleurl/src/gurl.h"
|
| #include "net/http/http_auth_handler.h"
|
| #include "net/http/http_auth_handler_factory.h"
|
|
|
| @@ -47,23 +46,15 @@
|
| connection_based_ = connection_based;
|
| }
|
|
|
| - const GURL& request_url() const {
|
| - return request_url_;
|
| - }
|
| -
|
| // The Factory class simply returns the same handler each time
|
| // CreateAuthHandler is called.
|
| class Factory : public HttpAuthHandlerFactory {
|
| public:
|
| - Factory();
|
| - virtual ~Factory();
|
| + Factory() {}
|
| + virtual ~Factory() {}
|
|
|
| void set_mock_handler(HttpAuthHandler* handler, HttpAuth::Target target);
|
|
|
| - void set_do_init_from_challenge(bool do_init_from_challenge) {
|
| - do_init_from_challenge_ = do_init_from_challenge;
|
| - }
|
| -
|
| virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge,
|
| HttpAuth::Target target,
|
| const GURL& origin,
|
| @@ -74,7 +65,6 @@
|
|
|
| private:
|
| scoped_ptr<HttpAuthHandler> handlers_[HttpAuth::AUTH_NUM_TARGETS];
|
| - bool do_init_from_challenge_;
|
| };
|
|
|
| protected:
|
| @@ -99,7 +89,6 @@
|
| std::string* auth_token_;
|
| bool first_round_;
|
| bool connection_based_;
|
| - GURL request_url_;
|
| };
|
|
|
| } // namespace net
|
|
|