OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_frame/http_negotiate.h" | 5 #include "chrome_frame/http_negotiate.h" |
6 | 6 |
7 #include <atlbase.h> | 7 #include <atlbase.h> |
8 #include <atlcom.h> | 8 #include <atlcom.h> |
9 #include <htiframe.h> | 9 #include <htiframe.h> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
13 #include "base/string_util.h" | 13 #include "base/string_util.h" |
| 14 #include "base/utf_string_conversions.h" |
14 | 15 |
15 #include "chrome_frame/bho.h" | 16 #include "chrome_frame/bho.h" |
16 #include "chrome_frame/exception_barrier.h" | 17 #include "chrome_frame/exception_barrier.h" |
17 #include "chrome_frame/html_utils.h" | 18 #include "chrome_frame/html_utils.h" |
18 #include "chrome_frame/urlmon_url_request.h" | 19 #include "chrome_frame/urlmon_url_request.h" |
19 #include "chrome_frame/urlmon_moniker.h" | 20 #include "chrome_frame/urlmon_moniker.h" |
20 #include "chrome_frame/utils.h" | 21 #include "chrome_frame/utils.h" |
21 #include "chrome_frame/vtable_patch_manager.h" | 22 #include "chrome_frame/vtable_patch_manager.h" |
22 | 23 |
23 #include "net/http/http_response_headers.h" | 24 #include "net/http/http_response_headers.h" |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 STDMETHODIMP UserAgentAddOn::OnResponse(DWORD response_code, | 429 STDMETHODIMP UserAgentAddOn::OnResponse(DWORD response_code, |
429 LPCWSTR response_headers, LPCWSTR request_headers, | 430 LPCWSTR response_headers, LPCWSTR request_headers, |
430 LPWSTR* additional_headers) { | 431 LPWSTR* additional_headers) { |
431 HRESULT hr = S_OK; | 432 HRESULT hr = S_OK; |
432 if (delegate_) { | 433 if (delegate_) { |
433 hr = delegate_->OnResponse(response_code, response_headers, request_headers, | 434 hr = delegate_->OnResponse(response_code, response_headers, request_headers, |
434 additional_headers); | 435 additional_headers); |
435 } | 436 } |
436 return hr; | 437 return hr; |
437 } | 438 } |
OLD | NEW |