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

Unified Diff: chrome_frame/bind_context_info.h

Issue 2620001: A new way of hooking internet protocols. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/bho.cc ('k') | chrome_frame/protocol_sink_wrap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/bind_context_info.h
===================================================================
--- chrome_frame/bind_context_info.h (revision 48838)
+++ chrome_frame/bind_context_info.h (working copy)
@@ -10,6 +10,7 @@
#include "base/scoped_bstr_win.h"
#include "base/scoped_comptr_win.h"
+#include "chrome_frame/protocol_sink_wrap.h"
class __declspec(uuid("71CC3EC7-7E8A-457f-93BC-1090CF31CC18"))
IBindContextInfoInternal : public IUnknown {
@@ -80,6 +81,14 @@
return url_;
}
+ void set_prot_data(ProtData* data) {
+ prot_data_ = data;
+ }
+
+ scoped_refptr<ProtData> get_prot_data() {
+ return prot_data_;
+ }
+
protected:
STDMETHOD(GetCppObject)(void** me) {
DCHECK(me);
@@ -97,9 +106,9 @@
bool is_switching_;
std::wstring url_;
ScopedComPtr<IUnknown> ftm_;
+ scoped_refptr<ProtData> prot_data_;
DISALLOW_COPY_AND_ASSIGN(BindContextInfo);
};
#endif // CHROME_FRAME_BIND_CONTEXT_INFO_
-
« no previous file with comments | « chrome_frame/bho.cc ('k') | chrome_frame/protocol_sink_wrap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698