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

Unified Diff: src/engine/Main.cpp

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.
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
« no previous file with comments | « locales/en.ini ('k') | src/plugin/AdblockPlusClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/engine/Main.cpp
===================================================================
--- a/src/engine/Main.cpp
+++ b/src/engine/Main.cpp
@@ -306,6 +306,14 @@
}
break;
}
+ case Communication::PROC_COMPARE_VERSIONS:
+ {
+ std::string v1, v2;
+ request >> v1 >> v2;
+
+ response << filterEngine->CompareVersions(v1, v2);
+ break;
+ }
case Communication::PROC_GET_DOCUMENTATION_LINK:
{
response << ToUtf16String(filterEngine->GetPref("documentation_link")->AsString());
« no previous file with comments | « locales/en.ini ('k') | src/plugin/AdblockPlusClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld