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

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

Issue 5096167658487808: [IE] Dead code (Closed)
Patch Set: Created June 20, 2014, 9:26 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 #pragma once 1 #pragma once
2 2
3 #include "ProtocolCF.h" 3 #include "ProtocolCF.h"
4 #include "ProtocolImpl.h" 4 #include "ProtocolImpl.h"
5 #define IE_MAX_URL_LENGTH 2048 5 #define IE_MAX_URL_LENGTH 2048
6 6
7 class WBPassthruSink : 7 class WBPassthruSink :
8 public PassthroughAPP::CInternetProtocolSinkWithSP<WBPassthruSink>, 8 public PassthroughAPP::CInternetProtocolSinkWithSP<WBPassthruSink>,
9 public IHttpNegotiate 9 public IHttpNegotiate
10 { 10 {
11 typedef PassthroughAPP::CInternetProtocolSinkWithSP<WBPassthruSink> Base Class; 11 typedef PassthroughAPP::CInternetProtocolSinkWithSP<WBPassthruSink> Base Class;
12 12
13 public: 13 public:
14 14
15 bool m_shouldBlock; 15 bool m_shouldBlock;
16 bool m_lastDataReported; 16 bool m_lastDataReported;
17 CComPtr<IInternetProtocol> m_pTargetProtocol; 17 CComPtr<IInternetProtocol> m_pTargetProtocol;
18 CString m_url;
19 18
20 int GetContentTypeFromMimeType(CString mimeType); 19 int GetContentTypeFromMimeType(CString mimeType);
21 int GetContentTypeFromURL(CString src); 20 int GetContentTypeFromURL(CString src);
22 int GetContentType(CString mimeType, CString domain, CString src); 21 int GetContentType(CString mimeType, CString domain, CString src);
23 public: 22 public:
24 BEGIN_COM_MAP(WBPassthruSink) 23 BEGIN_COM_MAP(WBPassthruSink)
25 COM_INTERFACE_ENTRY(IHttpNegotiate) 24 COM_INTERFACE_ENTRY(IHttpNegotiate)
26 COM_INTERFACE_ENTRY_CHAIN(BaseClass) 25 COM_INTERFACE_ENTRY_CHAIN(BaseClass)
27 END_COM_MAP() 26 END_COM_MAP()
28 27
(...skipping 26 matching lines...) Expand all
55 54
56 STDMETHODIMP Switch( 55 STDMETHODIMP Switch(
57 /* [in] */ PROTOCOLDATA *pProtocolData); 56 /* [in] */ PROTOCOLDATA *pProtocolData);
58 }; 57 };
59 58
60 typedef PassthroughAPP::CustomSinkStartPolicy<WBPassthruSink> TestStartPolicy; 59 typedef PassthroughAPP::CustomSinkStartPolicy<WBPassthruSink> TestStartPolicy;
61 60
62 class WBPassthru : public PassthroughAPP::CInternetProtocol<TestStartPolicy> 61 class WBPassthru : public PassthroughAPP::CInternetProtocol<TestStartPolicy>
63 { 62 {
64 }; 63 };
OLDNEW

Powered by Google App Engine
This is Rietveld