OLD | NEW |
1 // Copyright (c) 2011 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 #ifndef CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_ | 5 #ifndef CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_ |
6 #define CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_ | 6 #define CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlcom.h> | 9 #include <atlcom.h> |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/callback_old.h" | |
14 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
15 #include "base/threading/platform_thread.h" | 14 #include "base/threading/platform_thread.h" |
16 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
17 #include "net/http/http_response_headers.h" | 16 #include "net/http/http_response_headers.h" |
18 #include "net/url_request/url_request_status.h" | 17 #include "net/url_request/url_request_status.h" |
19 | 18 |
20 class UrlmonUrlRequest | 19 class UrlmonUrlRequest |
21 : public CComObjectRootEx<CComMultiThreadModel>, | 20 : public CComObjectRootEx<CComMultiThreadModel>, |
22 public PluginUrlRequest, | 21 public PluginUrlRequest, |
23 public IServiceProviderImpl<UrlmonUrlRequest>, | 22 public IServiceProviderImpl<UrlmonUrlRequest>, |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 // when this object is destroyed. Happens if we return | 254 // when this object is destroyed. Happens if we return |
256 // INET_E_TERMINATE_BIND from OnDataAvailable in the last data notification. | 255 // INET_E_TERMINATE_BIND from OnDataAvailable in the last data notification. |
257 bool cleanup_transaction_; | 256 bool cleanup_transaction_; |
258 // Copy of the request headers. | 257 // Copy of the request headers. |
259 std::string request_headers_; | 258 std::string request_headers_; |
260 | 259 |
261 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest); | 260 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest); |
262 }; | 261 }; |
263 | 262 |
264 #endif // CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_ | 263 #endif // CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_ |
OLD | NEW |