Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: net/base/net_log_logger.cc

Issue 612023003: Make --log-net-log and NetLogLogger hide cookies by default, (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix new test Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/base/net_log_logger.cc
diff --git a/net/base/net_log_logger.cc b/net/base/net_log_logger.cc
index b69a70be317c5efff0bdf177ebb2a2976a1ebe4b..0c0f1c925b64f5e194cdf6e5167402808e48c534 100644
--- a/net/base/net_log_logger.cc
+++ b/net/base/net_log_logger.cc
@@ -57,7 +57,9 @@ namespace net {
static const int kLogFormatVersion = 1;
NetLogLogger::NetLogLogger(FILE* file, const base::Value& constants)
- : file_(file), log_level_(NetLog::LOG_ALL_BUT_BYTES), added_events_(false) {
+ : file_(file),
+ log_level_(NetLog::LOG_STRIP_PRIVATE_DATA),
+ added_events_(false) {
DCHECK(file);
// Write constants to the output file. This allows loading files that have

Powered by Google App Engine
This is Rietveld 408576698