Index: src/plugin/PluginTabBase.h |
=================================================================== |
--- a/src/plugin/PluginTabBase.h |
+++ b/src/plugin/PluginTabBase.h |
@@ -25,8 +25,8 @@ |
CComAutoCriticalSection m_criticalSection; |
CriticalSection m_csInject; |
- CString m_documentDomain; |
- CString m_documentUrl; |
+ std::wstring m_documentDomain; |
+ std::wstring m_documentUrl; |
CPluginUserSettings m_pluginUserSettings; |
public: |
CPluginClass* m_plugin; |
@@ -59,32 +59,32 @@ |
#ifdef SUPPORT_FRAME_CACHING |
CComAutoCriticalSection m_criticalSectionCache; |
- std::set<CString> m_cacheFrames; |
- CString m_cacheDomain; |
+ std::set< std::wstring > m_cacheFrames; |
+ std::wstring m_cacheDomain; |
#endif |
- void SetDocumentUrl(const CString& url); |
+ void SetDocumentUrl(const std::wstring & url); |
void InjectABP(IWebBrowser2* browser); |
public: |
CPluginTabBase(CPluginClass* plugin); |
~CPluginTabBase(); |
- CString GetDocumentDomain(); |
- CString GetDocumentUrl(); |
+ std::wstring GetDocumentDomain(); |
+ std::wstring GetDocumentUrl(); |
virtual void OnActivate(); |
virtual void OnUpdate(); |
- virtual void OnNavigate(const CString& url); |
+ virtual void OnNavigate(const std::wstring & url); |
virtual void OnDownloadComplete(IWebBrowser2* browser); |
- virtual void OnDocumentComplete(IWebBrowser2* browser, const CString& url, bool isDocumentBrowser); |
+ virtual void OnDocumentComplete(IWebBrowser2* browser, const std::wstring url, bool isDocumentBrowser); |
static DWORD WINAPI TabThreadProc(LPVOID pParam); |
#ifdef SUPPORT_FRAME_CACHING |
- void CacheFrame(const CString& url); |
- bool IsFrameCached(const CString& url); |
- void ClearFrameCache(const CString& domain=""); |
+ void CacheFrame(const std::wstring & url); |
+ bool IsFrameCached(const std::wstring & url); |
+ void ClearFrameCache(const std::wstring & domain=L""); |
#endif |
}; |