| 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 |
| 10 #include <string> | 11 #include <string> |
| 11 | 12 |
| 12 #include "base/callback_old.h" | 13 #include "base/callback_old.h" |
| 13 #include "base/threading/platform_thread.h" | 14 #include "base/threading/platform_thread.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 | |
| 21 class UrlmonUrlRequest | 20 class UrlmonUrlRequest |
| 22 : public CComObjectRootEx<CComMultiThreadModel>, | 21 : public CComObjectRootEx<CComMultiThreadModel>, |
| 23 public PluginUrlRequest, | 22 public PluginUrlRequest, |
| 24 public IServiceProviderImpl<UrlmonUrlRequest>, | 23 public IServiceProviderImpl<UrlmonUrlRequest>, |
| 25 public IBindStatusCallback, | 24 public IBindStatusCallback, |
| 26 public IHttpNegotiate, | 25 public IHttpNegotiate, |
| 27 public IAuthenticate, | 26 public IAuthenticate, |
| 28 public IHttpSecurity { | 27 public IHttpSecurity { |
| 29 public: | 28 public: |
| 30 virtual bool Start(); | 29 virtual bool Start(); |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 // when this object is destroyed. Happens if we return | 255 // when this object is destroyed. Happens if we return |
| 257 // INET_E_TERMINATE_BIND from OnDataAvailable in the last data notification. | 256 // INET_E_TERMINATE_BIND from OnDataAvailable in the last data notification. |
| 258 bool cleanup_transaction_; | 257 bool cleanup_transaction_; |
| 259 // Copy of the request headers. | 258 // Copy of the request headers. |
| 260 std::string request_headers_; | 259 std::string request_headers_; |
| 261 | 260 |
| 262 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest); | 261 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest); |
| 263 }; | 262 }; |
| 264 | 263 |
| 265 #endif // CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_ | 264 #endif // CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_ |
| OLD | NEW |