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

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: add header for std::max 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
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 90225d414da5c91d04c5c581ae306cb3c5f688f8..8f4ef45a039f705e0722c7eda0c5f7c90ffb4e5d 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::NetLogLogger());
- 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);
}

Powered by Google App Engine
This is Rietveld 408576698