diff options
author | gavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-16 14:52:30 +0000 |
---|---|---|
committer | gavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-16 14:52:30 +0000 |
commit | d471190afa7f7ef0b7d19494dd5406c0b0ccb576 (patch) | |
tree | 9e27dbbdb4ff30807ec040c4180e84350746255e /webkit/glue/webkit_glue.h | |
parent | 6d97d7d2260c457f891247770be3795aeb3e257c (diff) | |
download | chromium_src-d471190afa7f7ef0b7d19494dd5406c0b0ccb576.zip chromium_src-d471190afa7f7ef0b7d19494dd5406c0b0ccb576.tar.gz chromium_src-d471190afa7f7ef0b7d19494dd5406c0b0ccb576.tar.bz2 |
Expose WebCore log channels on the chrome command line
Add --webcore-log-channels=Loading,ResourceLoading to your chrome
command line to get WebKit debugging joy. See
third_party/WebKit/Source/WebCore/platform/Logging.cpp for a list
of log levels.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6528016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75117 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.h')
-rw-r--r-- | webkit/glue/webkit_glue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h index c742c09..d2cdd5f 100644 --- a/webkit/glue/webkit_glue.h +++ b/webkit/glue/webkit_glue.h @@ -51,8 +51,8 @@ namespace webkit_glue { void SetJavaScriptFlags(const std::string& flags); -// Turn on the logging for notImplemented() calls from WebCore. -void EnableWebCoreNotImplementedLogging(); +// Turn on logging for flags in the provided comma delimited list. +void EnableWebCoreLogChannels(const std::string& channels); // Returns the text of the document element. string16 DumpDocumentText(WebKit::WebFrame* web_frame); |