diff options
author | grunell@chromium.org <grunell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-14 10:17:24 +0000 |
---|---|---|
committer | grunell@chromium.org <grunell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-14 10:17:24 +0000 |
commit | e95dcfac120923a776e2e1d29be8439dd6e4726d (patch) | |
tree | 5b0d5d8fd96041b37f58722724398aac89d2794a /third_party | |
parent | 2a13747e7a6697041958a225f8359ec2f06d3130 (diff) | |
download | chromium_src-e95dcfac120923a776e2e1d29be8439dd6e4726d.zip chromium_src-e95dcfac120923a776e2e1d29be8439dd6e4726d.tar.gz chromium_src-e95dcfac120923a776e2e1d29be8439dd6e4726d.tar.bz2 |
Enable stripping of IP address in libjingle log messages going to a WebRTC diagnostic log.
This depends on a libjingle roll.
BUG=229829
Review URL: https://chromiumcodereview.appspot.com/16438004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206382 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/libjingle/overrides/talk/base/logging.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/libjingle/overrides/talk/base/logging.cc b/third_party/libjingle/overrides/talk/base/logging.cc index 5c7beb4..17c5d63 100644 --- a/third_party/libjingle/overrides/talk/base/logging.cc +++ b/third_party/libjingle/overrides/talk/base/logging.cc @@ -13,6 +13,7 @@ #include "base/atomicops.h" #include "base/strings/string_util.h" #include "base/threading/platform_thread.h" +#include "third_party/libjingle/source/talk/base/ipaddress.h" #include "third_party/libjingle/source/talk/base/stream.h" #include "third_party/libjingle/source/talk/base/stringencode.h" #include "third_party/libjingle/source/talk/base/stringutils.h" @@ -283,6 +284,9 @@ void InitDiagnosticLoggingDelegateFunction( #endif CHECK(!g_logging_delegate_function); CHECK(delegate); +#ifdef NDEBUG + IPAddress::set_strip_sensitive(true); +#endif g_logging_delegate_function = delegate; } |