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

Unified Diff: google_apis/gcm/tools/mcs_probe.cc

Issue 1059843002: Refactor NetLog::LogLevel --> NetLogCaptureMode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again to fix a merge conflict Created 5 years, 8 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
« no previous file with comments | « extensions/browser/api/web_request/web_request_api_helpers.cc ('k') | net/base/address_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/tools/mcs_probe.cc
diff --git a/google_apis/gcm/tools/mcs_probe.cc b/google_apis/gcm/tools/mcs_probe.cc
index 69aac650362bd4391de385df2e9d7af8b72b74c2..0f464c546e654477802f640579970968cdef3070 100644
--- a/google_apis/gcm/tools/mcs_probe.cc
+++ b/google_apis/gcm/tools/mcs_probe.cc
@@ -359,7 +359,8 @@ void MCSProbe::InitializeNetworkState() {
}
if (log_file.get()) {
logger_.reset(new net::WriteToFileNetLogObserver());
- logger_->set_log_level(net::NetLog::LOG_ALL_BUT_BYTES);
+ logger_->set_capture_mode(
+ net::NetLogCaptureMode::IncludeCookiesAndCredentials());
logger_->StartObserving(&net_log_, log_file.Pass(), nullptr, nullptr);
}
« no previous file with comments | « extensions/browser/api/web_request/web_request_api_helpers.cc ('k') | net/base/address_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698