Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/plugin/SinkPolicy.h

Issue 6299667012780032: Issues #696,1231,1264,1265 - Improve handling in PassthroughApp (Closed)
Patch Set: Get rid of yoda style and rename blockedByABPPageSize local var Created Sept. 22, 2014, 4:14 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/plugin/PluginWbPassThrough.cpp ('k') | src/plugin/SinkPolicy.inl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef PASSTHROUGHAPP_SINKPOLICY_H 1 #ifndef PASSTHROUGHAPP_SINKPOLICY_H
2 #define PASSTHROUGHAPP_SINKPOLICY_H 2 #define PASSTHROUGHAPP_SINKPOLICY_H
3 3
4 #if _MSC_VER > 1000 4 #if _MSC_VER > 1000
5 #pragma once 5 #pragma once
6 #endif // _MSC_VER > 1000 6 #endif // _MSC_VER > 1000
7 7
8 namespace PassthroughAPP 8 namespace PassthroughAPP
9 { 9 {
10 10
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 148
149 template <class Protocol, class Sink> 149 template <class Protocol, class Sink>
150 class CustomSinkStartPolicy 150 class CustomSinkStartPolicy
151 { 151 {
152 public: 152 public:
153 DECLARE_AGGREGATABLE_PROTSINK(Protocol, Sink) 153 DECLARE_AGGREGATABLE_PROTSINK(Protocol, Sink)
154 154
155 HRESULT OnStart(LPCWSTR szUrl, 155 HRESULT OnStart(LPCWSTR szUrl,
156 IInternetProtocolSink *pOIProtSink, IInternetBindInfo *pOIBindIn fo, 156 IInternetProtocolSink *pOIProtSink, IInternetBindInfo *pOIBindIn fo,
157 DWORD grfPI, HANDLE_PTR dwReserved, 157 DWORD grfPI, HANDLE_PTR dwReserved,
158 » » IInternetProtocol* pTargetProtocol) const; 158 » » IInternetProtocol* pTargetProtocol);
159 159
160 160
161 static Sink* GetSink(const Protocol* pProtocol); 161 static Sink* GetSink(const Protocol* pProtocol);
162 Sink* GetSink() const; 162 Sink* GetSink() const;
163 static Protocol* GetProtocol(const Sink* pSink); 163 static Protocol* GetProtocol(const Sink* pSink);
164 }; 164 };
165 165
166 } // end namespace PassthroughAPP 166 } // end namespace PassthroughAPP
167 167
168 #include "SinkPolicy.inl" 168 #include "SinkPolicy.inl"
169 169
170 #endif // PASSTHROUGHAPP_SINKPOLICY_H 170 #endif // PASSTHROUGHAPP_SINKPOLICY_H
OLDNEW
« no previous file with comments | « src/plugin/PluginWbPassThrough.cpp ('k') | src/plugin/SinkPolicy.inl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld