OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/http/http_auth_handler_negotiate.h" | 5 #include "net/http/http_auth_handler_negotiate.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "net/base/net_errors.h" | 8 #include "net/base/net_errors.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 int HttpAuthHandlerNegotiate::GenerateDefaultAuthToken( | 55 int HttpAuthHandlerNegotiate::GenerateDefaultAuthToken( |
56 const HttpRequestInfo* request, | 56 const HttpRequestInfo* request, |
57 const ProxyInfo* proxy, | 57 const ProxyInfo* proxy, |
58 std::string* auth_token) { | 58 std::string* auth_token) { |
59 NOTREACHED(); | 59 NOTREACHED(); |
60 LOG(ERROR) << ErrorToString(ERR_NOT_IMPLEMENTED); | 60 LOG(ERROR) << ErrorToString(ERR_NOT_IMPLEMENTED); |
61 return ERR_NOT_IMPLEMENTED; | 61 return ERR_NOT_IMPLEMENTED; |
62 } | 62 } |
63 | 63 |
64 HttpAuthHandlerNegotiate::Factory::Factory() { | 64 bool HttpAuthHandlerNegotiate::NeedsCanonicalName() { |
| 65 return false; |
| 66 } |
| 67 |
| 68 int HttpAuthHandlerNegotiate::ResolveCanonicalName(HostResolver* host_resolver, |
| 69 CompletionCallback* callback, |
| 70 const BoundNetLog& net_log) { |
| 71 NOTREACHED(); |
| 72 LOG(ERROR) << ErrorToString(ERR_NOT_IMPLEMENTED); |
| 73 return ERR_NOT_IMPLEMENTED; |
| 74 } |
| 75 |
| 76 HttpAuthHandlerNegotiate::Factory::Factory() |
| 77 : disable_cname_lookup_(false), use_port_(false) { |
65 } | 78 } |
66 | 79 |
67 HttpAuthHandlerNegotiate::Factory::~Factory() { | 80 HttpAuthHandlerNegotiate::Factory::~Factory() { |
68 } | 81 } |
69 | 82 |
70 int HttpAuthHandlerNegotiate::Factory::CreateAuthHandler( | 83 int HttpAuthHandlerNegotiate::Factory::CreateAuthHandler( |
71 HttpAuth::ChallengeTokenizer* challenge, | 84 HttpAuth::ChallengeTokenizer* challenge, |
72 HttpAuth::Target target, | 85 HttpAuth::Target target, |
73 const GURL& origin, | 86 const GURL& origin, |
74 scoped_refptr<HttpAuthHandler>* handler) { | 87 scoped_refptr<HttpAuthHandler>* handler) { |
75 return ERR_UNSUPPORTED_AUTH_SCHEME; | 88 return ERR_UNSUPPORTED_AUTH_SCHEME; |
76 } | 89 } |
77 | 90 |
78 } // namespace net | 91 } // namespace net |
OLD | NEW |