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

Unified Diff: src/plugin/AdblockPlusClient.cpp

Issue 11043057: First run page triggering (Closed)
Patch Set: All changes Created July 25, 2013, 2:02 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.cpp
===================================================================
--- a/src/plugin/AdblockPlusClient.cpp
+++ b/src/plugin/AdblockPlusClient.cpp
@@ -313,6 +313,14 @@
return ReadStrings(response);
}
+bool CAdblockPlusClient::IsFirstRun()
+{
+ Communication::InputBuffer response;
+ if (!CallEngine(Communication::PROC_IS_FIRST_RUN_ACTION_NEEDED, &response)) return false;
+ bool res;
+ response >> res;
+ return res;
+}
void CAdblockPlusClient::AddFilter(const std::wstring& text)
{
Communication::OutputBuffer request;

Powered by Google App Engine
This is Rietveld