diff options
author | gavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-11 00:49:52 +0000 |
---|---|---|
committer | gavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-11 00:49:52 +0000 |
commit | 0ca7375e7be484cdd5839ac16946961f7775a893 (patch) | |
tree | 965b52aac98596987b0c32b259a8b9b7cf907c3c /webkit/support | |
parent | 83f93d3b7bf81c823c38a4d628b8486f354462cc (diff) | |
download | chromium_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.cc | 5 | ||||
-rw-r--r-- | webkit/support/webkit_support.h | 4 |
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_ |