Do not capture cookies and credentials (#13065)
This commit is contained in:
parent
01a9b32637
commit
fd25f594cd
1 changed files with 1 additions and 2 deletions
|
@ -50,8 +50,7 @@ void NetLog::StartLogging() {
|
||||||
base::FilePath log_path =
|
base::FilePath log_path =
|
||||||
command_line->GetSwitchValuePath(switches::kLogNetLog);
|
command_line->GetSwitchValuePath(switches::kLogNetLog);
|
||||||
std::unique_ptr<base::Value> constants(GetConstants());
|
std::unique_ptr<base::Value> constants(GetConstants());
|
||||||
net::NetLogCaptureMode capture_mode =
|
net::NetLogCaptureMode capture_mode = net::NetLogCaptureMode::Default();
|
||||||
net::NetLogCaptureMode::IncludeCookiesAndCredentials();
|
|
||||||
|
|
||||||
file_net_log_observer_ =
|
file_net_log_observer_ =
|
||||||
net::FileNetLogObserver::CreateUnbounded(log_path, std::move(constants));
|
net::FileNetLogObserver::CreateUnbounded(log_path, std::move(constants));
|
||||||
|
|
Loading…
Reference in a new issue