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

Unified Diff: src/plugin/AdblockPlusClient.h

Issue 11013110: Cleanup (Closed)
Patch Set: Minor CallEngine refactoring Created July 26, 2013, 2:12 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
Index: src/plugin/AdblockPlusClient.h
===================================================================
--- a/src/plugin/AdblockPlusClient.h
+++ b/src/plugin/AdblockPlusClient.h
@@ -4,6 +4,7 @@
#include "PluginTypedef.h"
#include "PluginClientBase.h"
+#include "../shared/Communication.h"
class CPluginFilter;
@@ -32,6 +33,7 @@
// Private constructor used by the singleton pattern
CAdblockPlusClient();
+ void PostRequest(Communication::OutputBuffer request);
Wladimir Palant 2013/07/26 16:45:37 I don't think you are still implementing this meth
public:
static CAdblockPlusClient* s_instance;
@@ -58,6 +60,13 @@
std::vector<std::wstring> GetExceptionDomains();
void AddFilter(const std::wstring& text);
void RemoveFilter(const std::wstring& text);
+ void SetPref(const std::wstring& name, const std::wstring& value);
+ void SetPref(const std::wstring& name, const int64_t& value);
+ void SetPref(const std::wstring& name, bool value);
+ std::wstring GetPref(const std::wstring& name, const std::wstring& defaultValue = L"");
+ std::wstring GetPref(const std::wstring& name, const wchar_t* defaultValue);
+ bool GetPref(const std::wstring& name, bool defaultValue = false);
+ int64_t GetPref(const std::wstring& name, int64_t defaultValue = 0);
};
#endif // _ADBLOCK_PLUS_CLIENT_H_

Powered by Google App Engine
This is Rietveld