summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/Logging.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-07-11 13:45:28 +0200
committerSimon Hausmann <simon.hausmann@nokia.com>2012-07-11 13:45:28 +0200
commitd6a599dbc9d824a462b2b206316e102bf8136446 (patch)
treeecb257a5e55b2239d74b90fdad62fccd661cf286 /Source/WebCore/platform/Logging.h
parent3ccc3a85f09a83557b391aae380d3bf5f81a2911 (diff)
Imported WebKit commit 8ff1f22783a32de82fee915abd55bd1b298f2644 (http://svn.webkit.org/repository/webkit/trunk@122325)
New snapshot that should work with the latest Qt build system changes
Diffstat (limited to 'Source/WebCore/platform/Logging.h')
-rw-r--r--Source/WebCore/platform/Logging.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/WebCore/platform/Logging.h b/Source/WebCore/platform/Logging.h
index 1af1c04ab..cde0ce851 100644
--- a/Source/WebCore/platform/Logging.h
+++ b/Source/WebCore/platform/Logging.h
@@ -29,6 +29,8 @@
#include <wtf/Assertions.h>
#include <wtf/Forward.h>
+#if !LOG_DISABLED
+
#ifndef LOG_CHANNEL_PREFIX
#define LOG_CHANNEL_PREFIX Log
#endif
@@ -61,9 +63,12 @@ namespace WebCore {
extern WTFLogChannel LogFileAPI;
extern WTFLogChannel LogWebAudio;
extern WTFLogChannel LogCompositing;
+ extern WTFLogChannel LogGamepad;
void initializeLoggingChannelsIfNecessary();
WTFLogChannel* getChannelFromName(const String& channelName);
}
+#endif // !LOG_DISABLED
+
#endif // Logging_h