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

Unified Diff: src/plugin/Config.h

Issue 5948518908821504: Issue #1158 - removed unnecessary definitions and #ifdef/#else/#endif sections (Closed)
Patch Set: Created Aug. 6, 2014, 7:38 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/Config.h
===================================================================
--- a/src/plugin/Config.h
+++ b/src/plugin/Config.h
@@ -115,17 +115,6 @@
#define DEBUG_ERROR_LOG(err, id, subid, description) CPluginClient::LogPluginError(err, id, subid, description);
// ----------------------------------------------------------------------------
-// Features
-// ----------------------------------------------------------------------------
-
-#if (defined PRODUCT_ADBLOCKPLUS)
-#define SUPPORT_FILTER
-#define SUPPORT_WHITELIST
-#define SUPPORT_DOM_TRAVERSER
Oleksandr 2014/08/18 20:46:04 I would leave the SUPPORT_DOM_TRAVERSER here
-#define SUPPORT_FRAME_CACHING
-#endif
-
-// ----------------------------------------------------------------------------
// Miscellaneous
// ----------------------------------------------------------------------------
@@ -140,14 +129,10 @@
#undef THROW_ON_ERROR
// Status bar pane name
-#if (defined PRODUCT_ADBLOCKPLUS)
#define STATUSBAR_PANE_NAME L"AdblockPlusStatusBarPane"
-#endif
// Status bar pane number
-#if (defined PRODUCT_ADBLOCKPLUS)
#define STATUSBAR_PANE_NUMBER 2
-#endif
#define ENGINE_STARTUP_TIMEOUT 10000
« no previous file with comments | « adblockplus.gyp ('k') | src/plugin/Plugin.cpp » ('j') | src/plugin/PluginClass.h » ('J')

Powered by Google App Engine
This is Rietveld