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

Delta Between Two Patch Sets: src/plugin/Config.h

Issue 5747779603267584: Issue #1234 - Rework strings in debug facility (Closed)
Left Patch Set: Created Feb. 24, 2015, 2:50 p.m.
Right Patch Set: typo fix Created March 5, 2015, 12:43 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/plugin/AdblockPlusDomTraverser.cpp ('k') | src/plugin/Plugin.cpp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 #if (defined ENABLE_DEBUG_INFO && defined ENABLE_DEBUG_ERROR) 86 #if (defined ENABLE_DEBUG_INFO && defined ENABLE_DEBUG_ERROR)
87 #define DEBUG_EXCEPTION(x) CPluginDebug::DebugException(x) 87 #define DEBUG_EXCEPTION(x) CPluginDebug::DebugException(x)
88 #define DEBUG_ERROR_CODE(err, x) CPluginDebug::DebugErrorCode(err, x); 88 #define DEBUG_ERROR_CODE(err, x) CPluginDebug::DebugErrorCode(err, x);
89 #define DEBUG_ERROR_CODE_EX(err, x, process, thread) CPluginDebug::DebugErrorCod e(err, x, process, thread); 89 #define DEBUG_ERROR_CODE_EX(err, x, process, thread) CPluginDebug::DebugErrorCod e(err, x, process, thread);
90 #else 90 #else
91 #define DEBUG_EXCEPTION(x) 91 #define DEBUG_EXCEPTION(x)
92 #define DEBUG_ERROR_CODE(err, x) 92 #define DEBUG_ERROR_CODE(err, x)
93 #define DEBUG_ERROR_CODE_EX(err, x, process, thread) 93 #define DEBUG_ERROR_CODE_EX(err, x, process, thread)
94 #endif 94 #endif
95 95
96 #define DEBUG_ERROR_LOG(err, id, subid, description) CPluginClientBase::PostPlug inError(err, id, subid, description); 96 #define DEBUG_ERROR_LOG(err, id, subid, description) LogQueue::PostPluginError(e rr, id, subid, description);
sergei 2015/02/25 13:53:31 Why is it changed from Log to Post?
Eric 2015/02/25 15:24:46 The change is both a clarification and an optimiza
sergei 2015/02/25 15:51:23 Clear. However, I would say that impl of `CPluginC
Eric 2015/02/25 16:14:00 Yes, I agree. The sense of 'isAsync' is backwards.
97 #define DEBUG_SYSTEM_EXCEPTION(ex, id, subid, description) CPluginDebug::DebugSy stemException(ex, id, subid, description) 97 #define DEBUG_SYSTEM_EXCEPTION(ex, id, subid, description) CPluginDebug::DebugSy stemException(ex, id, subid, description)
98 #define DEBUG_SELFTEST(x) 98 #define DEBUG_SELFTEST(x)
99 99
100 // ---------------------------------------------------------------------------- 100 // ----------------------------------------------------------------------------
101 // Miscellaneous 101 // Miscellaneous
102 // ---------------------------------------------------------------------------- 102 // ----------------------------------------------------------------------------
103 103
104 // Status bar pane name 104 // Status bar pane name
105 #define STATUSBAR_PANE_NAME L"AdblockPlusStatusBarPane" 105 #define STATUSBAR_PANE_NAME L"AdblockPlusStatusBarPane"
106 106
107 // Status bar pane number 107 // Status bar pane number
108 #define STATUSBAR_PANE_NUMBER 2 108 #define STATUSBAR_PANE_NUMBER 2
109 109
110 #define ENGINE_STARTUP_TIMEOUT 10000 110 #define ENGINE_STARTUP_TIMEOUT 10000
111 111
112 112
113 113
114 #endif // _CONFIG_H 114 #endif // _CONFIG_H
LEFTRIGHT

Powered by Google App Engine
This is Rietveld