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

Delta Between Two Patch Sets: src/plugin/AdblockPlusClient.h

Issue 5024350814076928: Issue 1103 - Migrate Simple Adblock users
Left Patch Set: Created March 24, 2015, 7:44 a.m.
Right Patch Set: Use registry instead of prefs for storing the Simple Adblock mark Created Aug. 7, 2015, 10:34 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
LEFTRIGHT
(no file at all)
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 std::wstring GetPref(const std::wstring& name, const std::wstring& defaultValu e = L""); 91 std::wstring GetPref(const std::wstring& name, const std::wstring& defaultValu e = L"");
92 std::wstring GetPref(const std::wstring& name, const wchar_t* defaultValue); 92 std::wstring GetPref(const std::wstring& name, const wchar_t* defaultValue);
93 bool GetPref(const std::wstring& name, bool defaultValue = false); 93 bool GetPref(const std::wstring& name, bool defaultValue = false);
94 int64_t GetPref(const std::wstring& name, int64_t defaultValue = 0); 94 int64_t GetPref(const std::wstring& name, int64_t defaultValue = 0);
95 void CheckForUpdates(HWND callbackWindow); 95 void CheckForUpdates(HWND callbackWindow);
96 std::wstring GetAppLocale(); 96 std::wstring GetAppLocale();
97 std::wstring GetDocumentationLink(); 97 std::wstring GetDocumentationLink();
98 bool TogglePluginEnabled(); 98 bool TogglePluginEnabled();
99 std::wstring GetHostFromUrl(const std::wstring& url); 99 std::wstring GetHostFromUrl(const std::wstring& url);
100 int CompareVersions(const std::wstring& v1, const std::wstring& v2); 100 int CompareVersions(const std::wstring& v1, const std::wstring& v2);
101 std::wstring GetConvertedFrom();
101 102
102 bool IsFirstRun(); 103 bool IsFirstRun();
103 }; 104 };
104 105
105 typedef CAdblockPlusClient CPluginClient; 106 typedef CAdblockPlusClient CPluginClient;
106 107
107 #endif // _ADBLOCK_PLUS_CLIENT_H_ 108 #endif // _ADBLOCK_PLUS_CLIENT_H_
LEFTRIGHT

Powered by Google App Engine
This is Rietveld