| LEFT | RIGHT |
| 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 |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
| 13 * | 13 * |
| 14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
| 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| 16 */ | 16 */ |
| 17 | 17 |
| 18 #include "PluginStdAfx.h" | 18 #include "PluginStdAfx.h" |
| 19 |
| 19 #include "PluginDebug.h" | 20 #include "PluginDebug.h" |
| 20 #include "Exception.h" | 21 #include "Exception.h" |
| 21 #include "PluginMutex.h" | 22 #include "PluginMutex.h" |
| 22 #include "PluginSettings.h" | 23 #include "PluginSettings.h" |
| 23 | 24 |
| 24 #if (defined ENABLE_DEBUG_INFO) | 25 #if (defined ENABLE_DEBUG_INFO) |
| 25 namespace { | 26 namespace { |
| 26 // VS 2012 does not have support for variadic templates, which would eliminate
the need for an argument class. | 27 // VS 2012 does not have support for variadic templates, which would eliminate
the need for an argument class. |
| 27 struct LogHandlersArguments | 28 struct LogHandlersArguments |
| 28 { | 29 { |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 srcTrunc = srcTrunc.Left(67) + L"..." + srcTrunc.Right(30); | 329 srcTrunc = srcTrunc.Left(67) + L"..." + srcTrunc.Right(30); |
| 329 } | 330 } |
| 330 | 331 |
| 331 CString blocking; | 332 CString blocking; |
| 332 blocking.Format(L"Ignored %-12s %s %s", ToCString(type), domain.empty()? L"
-" : ToCString(domain), srcTrunc); | 333 blocking.Format(L"Ignored %-12s %s %s", ToCString(type), domain.empty()? L"
-" : ToCString(domain), srcTrunc); |
| 333 | 334 |
| 334 DebugResultLegacy(blocking); | 335 DebugResultLegacy(blocking); |
| 335 } | 336 } |
| 336 | 337 |
| 337 #endif // ENABLE_DEBUG_RESULT_IGNORED | 338 #endif // ENABLE_DEBUG_RESULT_IGNORED |
| LEFT | RIGHT |