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

Side by Side Diff: src/plugin/Config.h

Issue 5994126579335168: Noissue - Remove a dead inheritance and some dead code (Closed)
Patch Set: Created Feb. 18, 2015, 7:06 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 #if (defined ENABLE_DEBUG_INFO && defined ENABLE_DEBUG_ERROR) 122 #if (defined ENABLE_DEBUG_INFO && defined ENABLE_DEBUG_ERROR)
123 #undef DEBUG_ERROR 123 #undef DEBUG_ERROR
124 #define DEBUG_ERROR(x) DEBUG_ERROR_FUNC("!!! Error:" + CString(x)); 124 #define DEBUG_ERROR(x) DEBUG_ERROR_FUNC("!!! Error:" + CString(x));
125 #undef DEBUG_ERROR_CODE 125 #undef DEBUG_ERROR_CODE
126 #define DEBUG_ERROR_CODE(err, x) DEBUG_ERROR_CODE_FUNC(err, "!!! Error:" + CStri ng(x)); 126 #define DEBUG_ERROR_CODE(err, x) DEBUG_ERROR_CODE_FUNC(err, "!!! Error:" + CStri ng(x));
127 #undef DEBUG_ERROR_CODE_EX 127 #undef DEBUG_ERROR_CODE_EX
128 #define DEBUG_ERROR_CODE_EX(err, x, process, thread) DEBUG_ERROR_CODE_FUNC(err, "!!! Error:" + CString(x), process, thread); 128 #define DEBUG_ERROR_CODE_EX(err, x, process, thread) DEBUG_ERROR_CODE_FUNC(err, "!!! Error:" + CString(x), process, thread);
129 #endif 129 #endif
130 130
131 #undef DEBUG_ERROR_LOG 131 #undef DEBUG_ERROR_LOG
132 #define DEBUG_ERROR_LOG(err, id, subid, description) CPluginClient::LogPluginErr or(err, id, subid, description); 132 #define DEBUG_ERROR_LOG(err, id, subid, description) LogQueue::LogPluginError(er r, id, subid, description);
133 133
134 // ---------------------------------------------------------------------------- 134 // ----------------------------------------------------------------------------
135 // Miscellaneous 135 // Miscellaneous
136 // ---------------------------------------------------------------------------- 136 // ----------------------------------------------------------------------------
137 137
138 //For debugging production build 138 //For debugging production build
139 //#define ENABLE_DEBUG_INFO 139 //#define ENABLE_DEBUG_INFO
140 140
141 // If defined, we will surround most of the methods with try catch 141 // If defined, we will surround most of the methods with try catch
142 #undef CATCHALL 142 #undef CATCHALL
143 143
144 // If defined, we will throw exceptions for errors 144 // If defined, we will throw exceptions for errors
145 // Otherwise we will try to handle it in a silent way, and only report 145 // Otherwise we will try to handle it in a silent way, and only report
146 #undef THROW_ON_ERROR 146 #undef THROW_ON_ERROR
147 147
148 // Status bar pane name 148 // Status bar pane name
149 #define STATUSBAR_PANE_NAME L"AdblockPlusStatusBarPane" 149 #define STATUSBAR_PANE_NAME L"AdblockPlusStatusBarPane"
150 150
151 // Status bar pane number 151 // Status bar pane number
152 #define STATUSBAR_PANE_NUMBER 2 152 #define STATUSBAR_PANE_NUMBER 2
153 153
154 #define ENGINE_STARTUP_TIMEOUT 10000 154 #define ENGINE_STARTUP_TIMEOUT 10000
155 155
156 156
157 157
158 #endif // _CONFIG_H 158 #endif // _CONFIG_H
OLDNEW

Powered by Google App Engine
This is Rietveld