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

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

Issue 6025347820683264: Issue 1106 - Enable Acceptable Ads by default for new installs and updates from versions < 1.2 (Closed)
Patch Set: Discriminate first run page title for install/update Created Aug. 1, 2014, 3:08 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
« no previous file with comments | « src/engine/Main.cpp ('k') | src/plugin/AdblockPlusClient.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "../shared/CriticalSection.h" 8 #include "../shared/CriticalSection.h"
9 9
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 void SetPref(const std::wstring& name, bool value); 73 void SetPref(const std::wstring& name, bool value);
74 std::wstring GetPref(const std::wstring& name, const std::wstring& defaultValu e = L""); 74 std::wstring GetPref(const std::wstring& name, const std::wstring& defaultValu e = L"");
75 std::wstring GetPref(const std::wstring& name, const wchar_t* defaultValue); 75 std::wstring GetPref(const std::wstring& name, const wchar_t* defaultValue);
76 bool GetPref(const std::wstring& name, bool defaultValue = false); 76 bool GetPref(const std::wstring& name, bool defaultValue = false);
77 int64_t GetPref(const std::wstring& name, int64_t defaultValue = 0); 77 int64_t GetPref(const std::wstring& name, int64_t defaultValue = 0);
78 void CheckForUpdates(HWND callbackWindow); 78 void CheckForUpdates(HWND callbackWindow);
79 std::wstring GetAppLocale(); 79 std::wstring GetAppLocale();
80 std::wstring GetDocumentationLink(); 80 std::wstring GetDocumentationLink();
81 bool TogglePluginEnabled(); 81 bool TogglePluginEnabled();
82 std::wstring GetHostFromUrl(const std::wstring& url); 82 std::wstring GetHostFromUrl(const std::wstring& url);
83 int CompareVersions(const std::wstring& v1, const std::wstring& v2);
83 84
84 bool IsFirstRun(); 85 bool IsFirstRun();
85 }; 86 };
86 87
87 #endif // _ADBLOCK_PLUS_CLIENT_H_ 88 #endif // _ADBLOCK_PLUS_CLIENT_H_
OLDNEW
« no previous file with comments | « src/engine/Main.cpp ('k') | src/plugin/AdblockPlusClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld