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

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

Issue 5921969115496448: Issue 1115 - Some yahoo page not correctly shown on IE8 when ABP enabled (Closed)
Patch Set: x Created Jan. 29, 2015, 3:23 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
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 19 matching lines...) Expand all
30 public: 30 public:
31 WBPassthruSink(); 31 WBPassthruSink();
32 32
33 uint64_t m_currentPositionOfSentPage; 33 uint64_t m_currentPositionOfSentPage;
34 CComPtr<IInternetProtocol> m_pTargetProtocol; 34 CComPtr<IInternetProtocol> m_pTargetProtocol;
35 int m_contentType; 35 int m_contentType;
36 std::wstring m_boundDomain; 36 std::wstring m_boundDomain;
37 bool m_isCustomResponse; 37 bool m_isCustomResponse;
38 38
39 int GetContentTypeFromMimeType(const CString& mimeType); 39 int GetContentTypeFromMimeType(const CString& mimeType);
40 int GetContentTypeFromURL(const std::wstring& src); 40 » int GetContentTypeFromURL(const std::wstring& src);
41 int GetContentType(const CString& mimeType, const std::wstring& domain, const std::wstring& src); 41 » int GetContentType(const CString& mimeType, const std::wstring& domain, const std::wstring& src);
Eric 2015/02/02 18:41:58 If you're going to make a change that is just inde
42 bool IsFlashRequest(const wchar_t* const* additionalHeaders); 42 bool IsFlashRequest(const wchar_t* const* additionalHeaders);
43 public: 43 public:
44 BEGIN_COM_MAP(WBPassthruSink) 44 BEGIN_COM_MAP(WBPassthruSink)
45 COM_INTERFACE_ENTRY(IHttpNegotiate) 45 COM_INTERFACE_ENTRY(IHttpNegotiate)
46 COM_INTERFACE_ENTRY_CHAIN(BaseClass) 46 COM_INTERFACE_ENTRY_CHAIN(BaseClass)
47 END_COM_MAP() 47 END_COM_MAP()
48 48
49 BEGIN_SERVICE_MAP(WBPassthruSink) 49 BEGIN_SERVICE_MAP(WBPassthruSink)
50 SERVICE_ENTRY(IID_IHttpNegotiate) 50 SERVICE_ENTRY(IID_IHttpNegotiate)
51 END_SERVICE_MAP() 51 END_SERVICE_MAP()
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 WBPassthru(); 90 WBPassthru();
91 // IInternetProtocolRoot 91 // IInternetProtocolRoot
92 STDMETHODIMP Start(LPCWSTR szUrl, IInternetProtocolSink *pOIProtSink, 92 STDMETHODIMP Start(LPCWSTR szUrl, IInternetProtocolSink *pOIProtSink,
93 IInternetBindInfo *pOIBindInfo, DWORD grfPI, HANDLE_PTR dwReserved) override ; 93 IInternetBindInfo *pOIBindInfo, DWORD grfPI, HANDLE_PTR dwReserved) override ;
94 94
95 //IInternetProtocol 95 //IInternetProtocol
96 STDMETHODIMP Read(/* [in, out] */ void *pv,/* [in] */ ULONG cb,/* [out] */ ULO NG *pcbRead) override; 96 STDMETHODIMP Read(/* [in, out] */ void *pv,/* [in] */ ULONG cb,/* [out] */ ULO NG *pcbRead) override;
97 97
98 bool m_shouldSupplyCustomContent; 98 bool m_shouldSupplyCustomContent;
99 }; 99 };
OLDNEW

Powered by Google App Engine
This is Rietveld