Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: chrome_frame/protocol_sink_wrap.h

Issue 12178023: Merge 179932 - Ensure that ChromeFrame does not interfere with non ChromeFrame requests initiated b… (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1364/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome_frame/protocol_sink_wrap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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>
(...skipping 22 matching lines...) Expand all
33 IInternetProtocol* this_object, void* buffer, ULONG size, 33 IInternetProtocol* this_object, void* buffer, ULONG size,
34 ULONG* size_read); 34 ULONG* size_read);
35 typedef HRESULT (STDMETHODCALLTYPE* InternetProtocol_StartEx_Fn)( 35 typedef HRESULT (STDMETHODCALLTYPE* InternetProtocol_StartEx_Fn)(
36 IInternetProtocolEx* this_object, IUri* uri, 36 IInternetProtocolEx* this_object, IUri* uri,
37 IInternetProtocolSink* prot_sink, IInternetBindInfo* bind_info, 37 IInternetProtocolSink* prot_sink, IInternetBindInfo* bind_info,
38 DWORD flags, HANDLE_PTR reserved); 38 DWORD flags, HANDLE_PTR reserved);
39 typedef HRESULT (STDMETHODCALLTYPE* InternetProtocol_LockRequest_Fn)( 39 typedef HRESULT (STDMETHODCALLTYPE* InternetProtocol_LockRequest_Fn)(
40 IInternetProtocol* this_object, DWORD options); 40 IInternetProtocol* this_object, DWORD options);
41 typedef HRESULT (STDMETHODCALLTYPE* InternetProtocol_UnlockRequest_Fn)( 41 typedef HRESULT (STDMETHODCALLTYPE* InternetProtocol_UnlockRequest_Fn)(
42 IInternetProtocol* this_object); 42 IInternetProtocol* this_object);
43 43 typedef HRESULT (STDMETHODCALLTYPE* InternetProtocol_Abort_Fn)(
44 IInternetProtocol* this_object, HRESULT hr, DWORD options);
45 typedef HRESULT (STDMETHODCALLTYPE* InternetProtocol_Terminate_Fn)(
46 IInternetProtocol* this_object, DWORD options);
44 47
45 class ProtData; 48 class ProtData;
46 49
47 // A class to wrap protocol sink in IInternetProtocol::Start[Ex] for 50 // A class to wrap protocol sink in IInternetProtocol::Start[Ex] for
48 // HTTP and HTTPS protocols. 51 // HTTP and HTTPS protocols.
49 // 52 //
50 // This is an alternative to a mime filter and we have to do this in order 53 // This is an alternative to a mime filter and we have to do this in order
51 // to inspect initial portion of HTML for 'chrome' meta tag and report 54 // to inspect initial portion of HTML for 'chrome' meta tag and report
52 // a different mime type in that case. 55 // a different mime type in that case.
53 // 56 //
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 }; 177 };
175 178
176 struct TransactionHooks { 179 struct TransactionHooks {
177 void InstallHooks(); 180 void InstallHooks();
178 void RevertHooks(); 181 void RevertHooks();
179 }; 182 };
180 183
181 DECLSPEC_SELECTANY struct TransactionHooks g_trans_hooks; 184 DECLSPEC_SELECTANY struct TransactionHooks g_trans_hooks;
182 185
183 #endif // CHROME_FRAME_PROTOCOL_SINK_WRAP_H_ 186 #endif // CHROME_FRAME_PROTOCOL_SINK_WRAP_H_
OLDNEW
« no previous file with comments | « no previous file | chrome_frame/protocol_sink_wrap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698