OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h" | 5 #include "chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/i18n/icu_string_conversions.h" | 9 #include "base/i18n/icu_string_conversions.h" |
10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
12 #include "base/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
13 #include "net/base/net_errors.h" | 13 #include "net/base/net_errors.h" |
14 #include "net/http/http_auth.h" | 14 #include "net/http/http_auth.h" |
15 #include "net/http/http_request_info.h" | 15 #include "net/http/http_request_info.h" |
16 | 16 |
17 namespace spdyproxy { | 17 namespace spdyproxy { |
18 | 18 |
19 using net::AuthCredentials; | 19 using net::AuthCredentials; |
20 using net::BoundNetLog; | 20 using net::BoundNetLog; |
21 using net::CompletionCallback; | 21 using net::CompletionCallback; |
22 using net::HttpAuth; | 22 using net::HttpAuth; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 realm_ = realm; | 159 realm_ = realm; |
160 } else if (LowerCaseEqualsASCII(name, "ps")) { | 160 } else if (LowerCaseEqualsASCII(name, "ps")) { |
161 ps_token_ = value; | 161 ps_token_ = value; |
162 } else { | 162 } else { |
163 VLOG(1) << "Skipping unrecognized SpdyProxy auth property, " << name; | 163 VLOG(1) << "Skipping unrecognized SpdyProxy auth property, " << name; |
164 } | 164 } |
165 return true; | 165 return true; |
166 } | 166 } |
167 | 167 |
168 } // namespace spdyproxy | 168 } // namespace spdyproxy |
OLD | NEW |