| 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 #ifndef CHROME_FRAME_URLMON_URL_REQUEST_H_ | 5 #ifndef CHROME_FRAME_URLMON_URL_REQUEST_H_ |
| 6 #define CHROME_FRAME_URLMON_URL_REQUEST_H_ | 6 #define CHROME_FRAME_URLMON_URL_REQUEST_H_ |
| 7 | 7 |
| 8 #include <urlmon.h> | 8 #include <urlmon.h> |
| 9 #include <atlbase.h> | 9 #include <atlbase.h> |
| 10 #include <atlcom.h> | 10 #include <atlcom.h> |
| 11 #include <map> | 11 #include <map> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "base/lock.h" | 14 #include "base/lock.h" |
| 15 #include "base/scoped_comptr_win.h" | |
| 16 #include "base/thread.h" | 15 #include "base/thread.h" |
| 17 #include "base/waitable_event.h" | 16 #include "base/waitable_event.h" |
| 18 #include "chrome_frame/plugin_url_request.h" | 17 #include "chrome_frame/plugin_url_request.h" |
| 19 #include "chrome_frame/urlmon_moniker.h" | 18 #include "chrome_frame/urlmon_moniker.h" |
| 20 #include "chrome_frame/utils.h" | 19 #include "chrome_frame/utils.h" |
| 21 | 20 |
| 22 class UrlmonUrlRequest; | 21 class UrlmonUrlRequest; |
| 23 | 22 |
| 24 class UrlmonUrlRequestManager | 23 class UrlmonUrlRequestManager |
| 25 : public PluginUrlRequestManager, | 24 : public PluginUrlRequestManager, |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 // The window to be used to fire notifications on. | 121 // The window to be used to fire notifications on. |
| 123 HWND notification_window_; | 122 HWND notification_window_; |
| 124 // Set to true if the ChromeFrame instance is running in privileged mode. | 123 // Set to true if the ChromeFrame instance is running in privileged mode. |
| 125 bool privileged_mode_; | 124 bool privileged_mode_; |
| 126 // A pointer to the containing object. We maintain a weak reference to avoid | 125 // A pointer to the containing object. We maintain a weak reference to avoid |
| 127 // lifetime issues. | 126 // lifetime issues. |
| 128 IUnknown* container_; | 127 IUnknown* container_; |
| 129 }; | 128 }; |
| 130 | 129 |
| 131 #endif // CHROME_FRAME_URLMON_URL_REQUEST_H_ | 130 #endif // CHROME_FRAME_URLMON_URL_REQUEST_H_ |
| 132 | |
| OLD | NEW |