OLD | NEW |
1 #include "PluginStdAfx.h" | 1 #include "PluginStdAfx.h" |
2 | 2 |
3 #include "PluginWbPassThrough.h" | 3 #include "PluginWbPassThrough.h" |
4 #include "PluginClient.h" | 4 #include "PluginClient.h" |
5 #include "PluginClientFactory.h" | 5 #include "PluginClientFactory.h" |
6 #include "PluginFilter.h" | 6 #include "PluginFilter.h" |
7 #include "PluginSettings.h" | 7 #include "PluginSettings.h" |
8 #include "PluginClass.h" | 8 #include "PluginClass.h" |
9 #include "PluginSystem.h" | 9 #include "PluginSystem.h" |
10 #include <WinInet.h> | 10 #include <WinInet.h> |
11 #include "wtypes.h" | 11 #include "wtypes.h" |
12 #include "../shared/Utils.h" | 12 #include "../shared/Utils.h" |
13 #include "../shared/IE_version.h" | 13 #include "IE_Version.h" |
14 | 14 |
15 namespace | 15 namespace |
16 { | 16 { |
17 const std::string g_blockedByABPPage = "<!DOCTYPE html>" | 17 const std::string g_blockedByABPPage = "<!DOCTYPE html>" |
18 "<html>" | 18 "<html>" |
19 "<body>" | 19 "<body>" |
20 "<!-- blocked by AdblockPlus -->" | 20 "<!-- blocked by AdblockPlus -->" |
21 "</body>" | 21 "</body>" |
22 "</html>"; | 22 "</html>"; |
23 | 23 |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 } | 389 } |
390 | 390 |
391 return OnStart(szUrl, pOIProtSink, pOIBindInfo, grfPI, dwReserved, m_spInterne
tProtocol); | 391 return OnStart(szUrl, pOIProtSink, pOIBindInfo, grfPI, dwReserved, m_spInterne
tProtocol); |
392 } | 392 } |
393 | 393 |
394 STDMETHODIMP WBPassthru::Read(/* [in, out] */ void *pv,/* [in] */ ULONG cb,/* [o
ut] */ ULONG *pcbRead) | 394 STDMETHODIMP WBPassthru::Read(/* [in, out] */ void *pv,/* [in] */ ULONG cb,/* [o
ut] */ ULONG *pcbRead) |
395 { | 395 { |
396 WBPassthruSink* pSink = GetSink(); | 396 WBPassthruSink* pSink = GetSink(); |
397 return pSink->OnRead(pv, cb, pcbRead); | 397 return pSink->OnRead(pv, cb, pcbRead); |
398 } | 398 } |
OLD | NEW |