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

Unified Diff: src/plugin/passthroughapp/SinkPolicy.h

Issue 29332980: Issue #1484 - Use the currently distributed version of PassthroughAPP unaltered
Patch Set: use OnStartEx() instead of OnStart() Created Dec. 23, 2015, 3:18 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/plugin/passthroughapp/SinkPolicy.h
===================================================================
--- a/src/plugin/passthroughapp/SinkPolicy.h
+++ b/src/plugin/passthroughapp/SinkPolicy.h
@@ -1,20 +1,3 @@
-/*
- * This file is part of Adblock Plus <https://adblockplus.org/>,
- * Copyright (C) 2006-2015 Eyeo GmbH
- *
- * Adblock Plus is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 3 as
- * published by the Free Software Foundation.
- *
- * Adblock Plus is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
- */
-
#ifndef PASSTHROUGHAPP_SINKPOLICY_H
#define PASSTHROUGHAPP_SINKPOLICY_H
@@ -36,6 +19,9 @@
IInternetBindInfo *pOIBindInfo, DWORD grfPI, HANDLE_PTR dwReserved,
IInternetProtocol* pTargetProtocol) const;
+ HRESULT OnStartEx(IUri *pUri, IInternetProtocolSink *pOIProtSink,
+ IInternetBindInfo *pOIBindInfo, DWORD grfPI, HANDLE_PTR dwReserved,
+ IInternetProtocolEx* pTargetProtocol) const;
};
template <class Base>
@@ -174,6 +160,10 @@
DWORD grfPI, HANDLE_PTR dwReserved,
IInternetProtocol* pTargetProtocol) const;
+ HRESULT OnStartEx(IUri* pUri,
+ IInternetProtocolSink *pOIProtSink, IInternetBindInfo *pOIBindInfo,
+ DWORD grfPI, HANDLE_PTR dwReserved,
+ IInternetProtocolEx* pTargetProtocol) const;
static Sink* GetSink(const Protocol* pProtocol);
Sink* GetSink() const;
@@ -184,4 +174,4 @@
#include "SinkPolicy.inl"
-#endif // PASSTHROUGHAPP_SINKPOLICY_H
+#endif // PASSTHROUGHAPP_SINKPOLICY_H

Powered by Google App Engine
This is Rietveld