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

Side by Side Diff: src/plugin/AdblockPlusDomTraverser.cpp

Issue 5747779603267584: Issue #1234 - Rework strings in debug facility (Closed)
Patch Set: Fixed spaces Created Feb. 25, 2015, 3:24 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 if (SUCCEEDED(pStyle->get_display(&bstrDisplay)) && bstrDisplay && CString(b strDisplay) == L"none") 144 if (SUCCEEDED(pStyle->get_display(&bstrDisplay)) && bstrDisplay && CString(b strDisplay) == L"none")
145 { 145 {
146 return; 146 return;
147 } 147 }
148 148
149 static const CComBSTR sbstrNone(L"none"); 149 static const CComBSTR sbstrNone(L"none");
150 150
151 if (SUCCEEDED(pStyle->put_display(sbstrNone))) 151 if (SUCCEEDED(pStyle->put_display(sbstrNone)))
152 { 152 {
153 DEBUG_HIDE_EL(indent + L"HideEl::Hiding " + type + L" url:" + ToCString(ur l)) 153 DEBUG_HIDE_EL(ToWstring(indent) + L"HideEl::Hiding " + ToWstring(type) + L " url:" + url)
154 154
155 #ifdef ENABLE_DEBUG_RESULT 155 #ifdef ENABLE_DEBUG_RESULT
156 if (isDebug) 156 if (isDebug)
157 { 157 {
158 CPluginDebug::DebugResultHiding(type, ToCString(url), "-"); 158 CPluginDebug::DebugResultHiding(ToWstring(type), url, L"-");
159 } 159 }
160 #endif // ENABLE_DEBUG_RESULT 160 #endif // ENABLE_DEBUG_RESULT
161 } 161 }
162 } 162 }
163 } 163 }
OLDNEW

Powered by Google App Engine
This is Rietveld