| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "net/base/net_errors.h" | 13 #include "net/base/net_errors.h" |
| 13 #include "net/http/http_response_headers.h" | 14 #include "net/http/http_response_headers.h" |
| 14 #include "net/url_request/url_request_status.h" | 15 #include "net/url_request/url_request_status.h" |
| 15 #include "testing/gtest/include/gtest/gtest_prod.h" | 16 #include "testing/gtest/include/gtest/gtest_prod.h" |
| 16 | 17 |
| 17 class RequestData; | 18 class RequestData; |
| 18 | 19 |
| 19 class UrlmonUrlRequest | 20 class UrlmonUrlRequest |
| 20 : public CComObjectRootEx<CComMultiThreadModel>, | 21 : public CComObjectRootEx<CComMultiThreadModel>, |
| 21 public PluginUrlRequest, | 22 public PluginUrlRequest, |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 int calling_delegate_; // re-entrancy protection. | 238 int calling_delegate_; // re-entrancy protection. |
| 238 // Set to true if the ChromeFrame instance is running in privileged mode. | 239 // Set to true if the ChromeFrame instance is running in privileged mode. |
| 239 bool privileged_mode_; | 240 bool privileged_mode_; |
| 240 bool pending_; | 241 bool pending_; |
| 241 scoped_ptr<TerminateBindCallback> terminate_bind_callback_; | 242 scoped_ptr<TerminateBindCallback> terminate_bind_callback_; |
| 242 std::string response_headers_; | 243 std::string response_headers_; |
| 243 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest); | 244 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest); |
| 244 }; | 245 }; |
| 245 | 246 |
| 246 #endif // CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_ | 247 #endif // CHROME_FRAME_URLMON_URL_REQUEST_PRIVATE_H_ |
| OLD | NEW |