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_PROTOCOL_SINK_WRAP_H_ | 5 #ifndef CHROME_FRAME_PROTOCOL_SINK_WRAP_H_ |
6 #define CHROME_FRAME_PROTOCOL_SINK_WRAP_H_ | 6 #define CHROME_FRAME_PROTOCOL_SINK_WRAP_H_ |
7 | 7 |
8 #include <exdisp.h> | 8 #include <exdisp.h> |
9 #include <urlmon.h> | 9 #include <urlmon.h> |
10 #include <atlbase.h> | 10 #include <atlbase.h> |
11 #include <atlcom.h> | 11 #include <atlcom.h> |
12 | 12 |
13 #include <map> | 13 #include <map> |
14 #include <string> | 14 #include <string> |
15 | 15 |
16 #include "base/basictypes.h" | 16 #include "base/basictypes.h" |
17 #include "base/ref_counted.h" | 17 #include "base/ref_counted.h" |
| 18 #include "base/win/atlcheck.h" |
18 #include "base/win/scoped_comptr.h" | 19 #include "base/win/scoped_comptr.h" |
19 #include "base/win/scoped_bstr.h" | 20 #include "base/win/scoped_bstr.h" |
20 #include "googleurl/src/gurl.h" | 21 #include "googleurl/src/gurl.h" |
21 #include "chrome_frame/chrome_frame_delegate.h" | 22 #include "chrome_frame/chrome_frame_delegate.h" |
22 #include "chrome_frame/http_negotiate.h" | 23 #include "chrome_frame/http_negotiate.h" |
23 #include "chrome_frame/ie8_types.h" | 24 #include "chrome_frame/ie8_types.h" |
24 #include "chrome_frame/utils.h" | 25 #include "chrome_frame/utils.h" |
25 #include "chrome_frame/vtable_patch_manager.h" | 26 #include "chrome_frame/vtable_patch_manager.h" |
26 | 27 |
27 // Typedefs for IInternetProtocol and related methods that we patch. | 28 // Typedefs for IInternetProtocol and related methods that we patch. |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 }; | 175 }; |
175 | 176 |
176 struct TransactionHooks { | 177 struct TransactionHooks { |
177 void InstallHooks(); | 178 void InstallHooks(); |
178 void RevertHooks(); | 179 void RevertHooks(); |
179 }; | 180 }; |
180 | 181 |
181 DECLSPEC_SELECTANY struct TransactionHooks g_trans_hooks; | 182 DECLSPEC_SELECTANY struct TransactionHooks g_trans_hooks; |
182 | 183 |
183 #endif // CHROME_FRAME_PROTOCOL_SINK_WRAP_H_ | 184 #endif // CHROME_FRAME_PROTOCOL_SINK_WRAP_H_ |
OLD | NEW |