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: Comments addressed Created July 20, 2013, 8:11 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
@@ -418,14 +418,12 @@
}
}
-bool CAdblockPlusClient::GetIsFirstRun()
+bool CAdblockPlusClient::IsFirstRun()
{
- Communication::OutputBuffer request;
- request << Communication::PROC_GET_IS_FIRST_RUN;
try
{
- Communication::InputBuffer response = CallAdblockPlusEngineProcedure(request);
- bool res = false;
+ Communication::InputBuffer response = CallAdblockPlusEngineProcedure(Communication::PROC_IS_FIRST_RUN_ACTION_NEEDED);
+ bool res;
response >> res;
return res;
}

Powered by Google App Engine
This is Rietveld