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

Unified Diff: src/plugin/PluginSettings.h

Issue 11062004: Don't use std::string in the plugin, convert when communicating with the engine (Closed)
Patch Set: Created June 27, 2013, 10:37 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
Index: src/plugin/PluginSettings.h
===================================================================
--- a/src/plugin/PluginSettings.h
+++ b/src/plugin/PluginSettings.h
@@ -200,7 +200,7 @@
#ifdef SUPPORT_WHITELIST
private:
- std::vector<std::string> m_whitelistedDomains;
+ std::vector<std::wstring> m_whitelistedDomains;
void ClearWhitelist();
bool ReadWhitelist(bool bDebug=true);
@@ -209,14 +209,13 @@
void AddWhiteListedDomain(const CString& domain);
void RemoveWhiteListedDomain(const CString& domain);
int GetWhiteListedDomainCount() const;
- std::vector<std::string> GetWhiteListedDomainList();
+ std::vector<std::wstring> GetWhiteListedDomainList();
#endif //SUPPORT_WHITELIST
bool RefreshWhitelist();
DWORD GetWindowsBuildNumber();
- void SetSubscription(BSTR language);
- void SetSubscription(std::string language);
+ void SetSubscription(const std::wstring& url);
void SetDefaultSubscription();
CString GetSubscription();
void RefreshFilterlist();

Powered by Google App Engine
This is Rietveld