summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authorgavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 14:52:30 +0000
committergavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 14:52:30 +0000
commitd471190afa7f7ef0b7d19494dd5406c0b0ccb576 (patch)
tree9e27dbbdb4ff30807ec040c4180e84350746255e /chrome/common/chrome_switches.cc
parent6d97d7d2260c457f891247770be3795aeb3e257c (diff)
downloadchromium_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 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index c4d19bf..a80cae4 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1233,6 +1233,10 @@ const char kVersion[] = "version";
// kWaitForDebugger flag passed on or not.
const char kWaitForDebuggerChildren[] = "wait-for-debugger-children";
+// Choose which logging channels in WebCore to activate. See
+// Logging.cpp in WebKit's WebCore for a list of available channels.
+const char kWebCoreLogChannels[] = "webcore-log-channels";
+
// Causes the worker process allocation to use as many processes as cores.
const char kWebWorkerProcessPerCore[] = "web-worker-process-per-core";