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

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

Issue 29331590: Issue #1484 - Make PassthroughAPP a pass-through again (Closed)
Patch Set: rebase only Created Dec. 22, 2015, 2:28 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/passthroughapp/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 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 template <class Protocol, class Sink> 166 template <class Protocol, class Sink>
167 class CustomSinkStartPolicy 167 class CustomSinkStartPolicy
168 { 168 {
169 public: 169 public:
170 DECLARE_AGGREGATABLE_PROTSINK(Protocol, Sink) 170 DECLARE_AGGREGATABLE_PROTSINK(Protocol, Sink)
171 171
172 HRESULT OnStart(LPCWSTR szUrl, 172 HRESULT OnStart(LPCWSTR szUrl,
173 IInternetProtocolSink *pOIProtSink, IInternetBindInfo *pOIBindIn fo, 173 IInternetProtocolSink *pOIProtSink, IInternetBindInfo *pOIBindIn fo,
174 DWORD grfPI, HANDLE_PTR dwReserved, 174 DWORD grfPI, HANDLE_PTR dwReserved,
175 » » IInternetProtocol* pTargetProtocol); 175 » » IInternetProtocol* pTargetProtocol) const;
176 176
177 177
178 static Sink* GetSink(const Protocol* pProtocol); 178 static Sink* GetSink(const Protocol* pProtocol);
179 Sink* GetSink() const; 179 Sink* GetSink() const;
180 static Protocol* GetProtocol(const Sink* pSink); 180 static Protocol* GetProtocol(const Sink* pSink);
181 }; 181 };
182 182
183 } // end namespace PassthroughAPP 183 } // end namespace PassthroughAPP
184 184
185 #include "SinkPolicy.inl" 185 #include "SinkPolicy.inl"
186 186
187 #endif // PASSTHROUGHAPP_SINKPOLICY_H 187 #endif // PASSTHROUGHAPP_SINKPOLICY_H
OLDNEW
« no previous file with comments | « src/plugin/PluginWbPassThrough.cpp ('k') | src/plugin/passthroughapp/SinkPolicy.inl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld