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

Unified Diff: src/engine/main.cpp

Issue 10894013: Pass developmentBuild info to libadblockplus (Closed)
Patch Set: Created June 5, 2013, 10:10 a.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 | « AdblockPlusEngine.vcxproj ('k') | no next file » | 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
@@ -170,6 +170,11 @@
appInfo.name = "adblockplusie";
appInfo.platform = "msie";
appInfo.locale = ToUtf8String(locale);
+#ifdef ADBLOCK_PLUS_TEST_MODE
+ appInfo.developmentBuild = true;
+#else
+ appInfo.developmentBuild = false;
+#endif
AdblockPlus::JsEnginePtr jsEngine = AdblockPlus::JsEngine::New(appInfo);
std::string dataPath = ToUtf8String(GetAppDataPath());
« no previous file with comments | « AdblockPlusEngine.vcxproj ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld