diff options
author | stoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-09 16:54:12 +0000 |
---|---|---|
committer | stoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-09 16:54:12 +0000 |
commit | ce2b9f923c23700d24658b5118ab9c1d2f330d8b (patch) | |
tree | bdd559fc120cc9b5e5111a5c53efc4e3e0184466 /chrome_frame/bind_context_info.h | |
parent | 78c7e2c68da0079869252bb464f4633373e5d067 (diff) | |
download | chromium_src-ce2b9f923c23700d24658b5118ab9c1d2f330d8b.zip chromium_src-ce2b9f923c23700d24658b5118ab9c1d2f330d8b.tar.gz chromium_src-ce2b9f923c23700d24658b5118ab9c1d2f330d8b.tar.bz2 |
A new way of hooking internet protocols.
TEST=chrome frame tests
Review URL: http://codereview.chromium.org/2620001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49265 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/bind_context_info.h')
-rw-r--r-- | chrome_frame/bind_context_info.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/chrome_frame/bind_context_info.h b/chrome_frame/bind_context_info.h index 07ec284..1778604 100644 --- a/chrome_frame/bind_context_info.h +++ b/chrome_frame/bind_context_info.h @@ -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 @@ class __declspec(uuid("00000000-0000-0000-0000-000000000000")) BindContextInfo 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 @@ class __declspec(uuid("00000000-0000-0000-0000-000000000000")) BindContextInfo 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_ - |