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

Unified Diff: src/plugin/PluginTabBase.h

Issue 4895405913407488: Issue #1234 - remove CString from declarations representing domains. (Closed)
Patch Set: Created Aug. 7, 2014, 7:46 p.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/PluginFilter.cpp ('k') | src/plugin/PluginTabBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginTabBase.h
===================================================================
--- a/src/plugin/PluginTabBase.h
+++ b/src/plugin/PluginTabBase.h
@@ -25,7 +25,7 @@
CComAutoCriticalSection m_criticalSection;
CriticalSection m_csInject;
- CString m_documentDomain;
+ std::wstring m_documentDomain;
CString m_documentUrl;
CPluginUserSettings m_pluginUserSettings;
public:
@@ -60,7 +60,7 @@
#ifdef SUPPORT_FRAME_CACHING
CComAutoCriticalSection m_criticalSectionCache;
std::set<CString> m_cacheFrames;
- CString m_cacheDomain;
+ std::wstring m_cacheDomain;
#endif
void SetDocumentUrl(const CString& url);
@@ -70,7 +70,7 @@
CPluginTabBase(CPluginClass* plugin);
~CPluginTabBase();
- CString GetDocumentDomain();
+ std::wstring GetDocumentDomain();
CString GetDocumentUrl();
virtual void OnActivate();
@@ -84,7 +84,7 @@
#ifdef SUPPORT_FRAME_CACHING
void CacheFrame(const CString& url);
bool IsFrameCached(const CString& url);
- void ClearFrameCache(const CString& domain="");
+ void ClearFrameCache(const std::wstring& domain=L"");
#endif
};
« no previous file with comments | « src/plugin/PluginFilter.cpp ('k') | src/plugin/PluginTabBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld