summaryrefslogtreecommitdiffstats
path: root/webkit/support
diff options
context:
space:
mode:
authorgavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-11 00:49:52 +0000
committergavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-11 00:49:52 +0000
commit0ca7375e7be484cdd5839ac16946961f7775a893 (patch)
tree965b52aac98596987b0c32b259a8b9b7cf907c3c /webkit/support
parent83f93d3b7bf81c823c38a4d628b8486f354462cc (diff)
downloadchromium_src-0ca7375e7be484cdd5839ac16946961f7775a893.zip
chromium_src-0ca7375e7be484cdd5839ac16946961f7775a893.tar.gz
chromium_src-0ca7375e7be484cdd5839ac16946961f7775a893.tar.bz2
Add WebCore log channels support to webkit_support.
I'm doing this in preparation for adding webcore logging channels to DumpRenderTree. I have the webkit CL ready, I'll upload it once this lands in Chrome. BUG=none Review URL: http://codereview.chromium.org/8507013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109550 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support')
-rw-r--r--webkit/support/webkit_support.cc5
-rw-r--r--webkit/support/webkit_support.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc
index 4d97c56..9dff248 100644
--- a/webkit/support/webkit_support.cc
+++ b/webkit/support/webkit_support.cc
@@ -645,4 +645,9 @@ double GetForegroundTabTimerInterval() {
return webkit_glue::kForegroundTabTimerInterval;
}
+// Logging
+void EnableWebCoreLogChannels(const std::string& channels) {
+ webkit_glue::EnableWebCoreLogChannels(channels);
+}
+
} // namespace webkit_support
diff --git a/webkit/support/webkit_support.h b/webkit/support/webkit_support.h
index dd93335..650206b 100644
--- a/webkit/support/webkit_support.h
+++ b/webkit/support/webkit_support.h
@@ -220,6 +220,10 @@ int NativeKeyCodeForWindowsKeyCode(int keycode, bool shift);
double GetForegroundTabTimerInterval();
+// - Logging
+
+void EnableWebCoreLogChannels(const std::string& channels);
+
} // namespace webkit_support
#endif // WEBKIT_SUPPORT_WEBIT_CLIENT_IMPL_H_