diff options
author | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-15 20:27:04 +0000 |
---|---|---|
committer | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-15 20:27:04 +0000 |
commit | 6278e373813049242dcd5da1c9cf7dd7477d4dff (patch) | |
tree | 8809fd5c4959058411088955403f5d901a19a8d2 /chrome/app | |
parent | b1261334745e1ed9a07648f326717f50dcc97fe3 (diff) | |
download | chromium_src-6278e373813049242dcd5da1c9cf7dd7477d4dff.zip chromium_src-6278e373813049242dcd5da1c9cf7dd7477d4dff.tar.gz chromium_src-6278e373813049242dcd5da1c9cf7dd7477d4dff.tar.bz2 |
Mac: Limit Breakpad LOG spew
If a user has enabled generation of breakpad dumps, we log a warning message. Before this CL a log message was printed for every single Chrome process.
This CL limits the printout to just the first browser invocation.
BUG=None
TEST=Launch a branded build of Chrome from a terminal, open a few tabs, "Breakpad disabled" message should only be printed once.
Review URL: http://codereview.chromium.org/1629019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44697 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/breakpad_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/app/breakpad_mac.mm b/chrome/app/breakpad_mac.mm index 56f24ee..752e67e 100644 --- a/chrome/app/breakpad_mac.mm +++ b/chrome/app/breakpad_mac.mm @@ -59,7 +59,7 @@ void InitCrashReporter() { } if (!enable_breakpad) { - LOG(WARNING) << "Breakpad disabled"; + LOG_IF(WARNING, is_browser) << "Breakpad disabled"; return; } |