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

Side by Side Diff: src/plugin/AdblockPlusClient.h

Issue 11043057: First run page triggering (Closed)
Patch Set: All changes Created July 25, 2013, 2:02 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 #ifndef _ADBLOCK_PLUS_CLIENT_H_ 1 #ifndef _ADBLOCK_PLUS_CLIENT_H_
2 #define _ADBLOCK_PLUS_CLIENT_H_ 2 #define _ADBLOCK_PLUS_CLIENT_H_
3 3
4 4
5 #include "PluginTypedef.h" 5 #include "PluginTypedef.h"
6 #include "PluginClientBase.h" 6 #include "PluginClientBase.h"
7 #include "../shared/Communication.h" 7 #include "../shared/Communication.h"
8 8
9 9
10 class CPluginFilter; 10 class CPluginFilter;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 std::vector<std::wstring> GetExceptionDomains(); 60 std::vector<std::wstring> GetExceptionDomains();
61 void AddFilter(const std::wstring& text); 61 void AddFilter(const std::wstring& text);
62 void RemoveFilter(const std::wstring& text); 62 void RemoveFilter(const std::wstring& text);
63 void SetPref(const std::wstring& name, const std::wstring& value); 63 void SetPref(const std::wstring& name, const std::wstring& value);
64 void SetPref(const std::wstring& name, const int64_t& value); 64 void SetPref(const std::wstring& name, const int64_t& value);
65 void SetPref(const std::wstring& name, bool value); 65 void SetPref(const std::wstring& name, bool value);
66 std::wstring GetPref(const std::wstring& name, const std::wstring& defaultValu e = L""); 66 std::wstring GetPref(const std::wstring& name, const std::wstring& defaultValu e = L"");
67 std::wstring GetPref(const std::wstring& name, const wchar_t* defaultValue); 67 std::wstring GetPref(const std::wstring& name, const wchar_t* defaultValue);
68 bool GetPref(const std::wstring& name, bool defaultValue = false); 68 bool GetPref(const std::wstring& name, bool defaultValue = false);
69 int64_t GetPref(const std::wstring& name, int64_t defaultValue = 0); 69 int64_t GetPref(const std::wstring& name, int64_t defaultValue = 0);
70
71 bool IsFirstRun();
70 }; 72 };
71 73
72 #endif // _ADBLOCK_PLUS_CLIENT_H_ 74 #endif // _ADBLOCK_PLUS_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld