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

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

Issue 29332020: Noissue - Add tracing function 'ToHexLiteral()' (Closed)
Patch Set: fix error messages Created Dec. 21, 2015, 12:51 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 25 matching lines...) Expand all
36 static void DebugResultDomain(const std::wstring& domain); 36 static void DebugResultDomain(const std::wstring& domain);
37 static void DebugResultBlocking(const std::wstring& type, const std::wstring& src, const std::wstring& domain); 37 static void DebugResultBlocking(const std::wstring& type, const std::wstring& src, const std::wstring& domain);
38 static void DebugResultHiding(const std::wstring& tag, const std::wstring& id, const std::wstring& filter); 38 static void DebugResultHiding(const std::wstring& tag, const std::wstring& id, const std::wstring& filter);
39 #endif 39 #endif
40 40
41 #if (defined ENABLE_DEBUG_RESULT_IGNORED) 41 #if (defined ENABLE_DEBUG_RESULT_IGNORED)
42 static void DebugResultIgnoring(const std::wstring& type, const std::wstring& src, const std::wstring& domain); 42 static void DebugResultIgnoring(const std::wstring& type, const std::wstring& src, const std::wstring& domain);
43 #endif 43 #endif
44 }; 44 };
45 45
46 /**
47 * Convert a pointer to a hexadecimal literal (0x...)
48 *
49 * The length of the literal varies with pointer size:
50 * 10 characters for WIN32, and 18 for WIN64.
51 */
52 std::wstring ToHexLiteral(const void*);
46 53
47 #endif // _PLUGIN_DEBUG_H_ 54 #endif // _PLUGIN_DEBUG_H_
OLDNEW
« no previous file with comments | « adblockplus.gyp ('k') | src/plugin/PluginDebug.cpp » ('j') | src/plugin/PluginDebug.cpp » ('J')

Powered by Google App Engine
This is Rietveld