| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/threading/platform_thread.h" | 13 #include "base/threading/platform_thread.h" |
| 14 #include "base/win/atlcheck.h" |
| 14 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
| 15 #include "net/http/http_response_headers.h" | 16 #include "net/http/http_response_headers.h" |
| 16 #include "net/url_request/url_request_status.h" | 17 #include "net/url_request/url_request_status.h" |
| 17 #include "testing/gtest/include/gtest/gtest_prod.h" | 18 #include "testing/gtest/include/gtest/gtest_prod.h" |
| 18 | 19 |
| 19 class RequestData; | 20 class RequestData; |
| 20 | 21 |
| 21 class UrlmonUrlRequest | 22 class UrlmonUrlRequest |
| 22 : public CComObjectRootEx<CComMultiThreadModel>, | 23 : public CComObjectRootEx<CComMultiThreadModel>, |
| 23 public PluginUrlRequest, | 24 public PluginUrlRequest, |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 // when this object is destroyed. Happens if we return | 253 // when this object is destroyed. Happens if we return |
| 253 // INET_E_TERMINATE_BIND from OnDataAvailable in the last data notification. | 254 // INET_E_TERMINATE_BIND from OnDataAvailable in the last data notification. |
| 254 bool cleanup_transaction_; | 255 bool cleanup_transaction_; |
| 255 // Copy of the request headers. | 256 // Copy of the request headers. |
| 256 std::string request_headers_; | 257 std::string request_headers_; |
| 257 | 258 |
| 258 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest); | 259 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest); |
| 259 }; | 260 }; |
| 260 | 261 |
| 261 #endif // CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_ | 262 #endif // CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_ |
| OLD | NEW |