summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-24 23:07:45 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-24 23:07:45 +0000
commitbf24d2c7ded5c2072ce211cd4de6af61b8e209d5 (patch)
tree2fa229d2ab5b18fe5e49b2a7794f277f0297237d /chrome/common/chrome_switches.cc
parent55f81fe6b97331c509b0dfbc0665813b41f526a4 (diff)
downloadchromium_src-bf24d2c7ded5c2072ce211cd4de6af61b8e209d5.zip
chromium_src-bf24d2c7ded5c2072ce211cd4de6af61b8e209d5.tar.gz
chromium_src-bf24d2c7ded5c2072ce211cd4de6af61b8e209d5.tar.bz2
Add logging to ExtensionsService, UserScriptMaster,
and PluginChannel to be able to see what happens when chrome runs extensions headless. It would be better to modify the existing IPC::Logging mechanism than add logging to PluginChannel, so that it could be useful for debugging other types of IPC problems. But I don't have time to do that right now. Review URL: http://codereview.chromium.org/28091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10302 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index c142622..43baf87 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -180,6 +180,9 @@ const wchar_t kDisableLogging[] = L"disable-logging";
// INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3.
const wchar_t kLoggingLevel[] = L"log-level";
+// Make plugin processes log their sent and received messages to LOG(INFO).
+const wchar_t kLogPluginMessages[] = L"log-plugin-messages";
+
// Dump any accumualted histograms to the log when browser terminates (requires
// logging to be enabled to really do anything). Used by developers and test
// scripts.