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

Unified Diff: src/plugin/PluginWbPassThrough.h

Issue 4912420225024000: Issue #1234 - Convert strings associated with URL's (Closed)
Patch Set: Created Oct. 20, 2014, 2:34 a.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
« no previous file with comments | « src/plugin/PluginTabBase.cpp ('k') | src/plugin/PluginWbPassThrough.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginWbPassThrough.h
===================================================================
--- a/src/plugin/PluginWbPassThrough.h
+++ b/src/plugin/PluginWbPassThrough.h
@@ -17,8 +17,8 @@
CComPtr<IInternetProtocol> m_pTargetProtocol;
int GetContentTypeFromMimeType(CString mimeType);
- int GetContentTypeFromURL(CString src);
- int GetContentType(CString mimeType, std::wstring domain, CString src);
+ int GetContentTypeFromURL(std::wstring& src);
sergei 2014/10/21 09:45:17 Why is it not const here and below?
Eric 2014/10/21 17:19:52 Because I'm focusing only on type conversion. I ha
+ int GetContentType(CString mimeType, std::wstring& domain, std::wstring& src);
public:
BEGIN_COM_MAP(WBPassthruSink)
COM_INTERFACE_ENTRY(IHttpNegotiate)
« no previous file with comments | « src/plugin/PluginTabBase.cpp ('k') | src/plugin/PluginWbPassThrough.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld