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

Unified Diff: components/cronet/android/url_request_context_adapter.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: components/cronet/android/url_request_context_adapter.cc
diff --git a/components/cronet/android/url_request_context_adapter.cc b/components/cronet/android/url_request_context_adapter.cc
index 6ce58d06931b8992fb7f8717892ad9c146f4d05c..023c997f5b655e856dbaf7b548ae1411bf8727a6 100644
--- a/components/cronet/android/url_request_context_adapter.cc
+++ b/components/cronet/android/url_request_context_adapter.cc
@@ -199,8 +199,9 @@ void URLRequestContextAdapter::InitRequestContextOnNetworkThread() {
if (VLOG_IS_ON(2)) {
net_log_observer_.reset(new NetLogObserver());
- context_->net_log()->DeprecatedAddObserver(net_log_observer_.get(),
- net::NetLog::LOG_ALL_BUT_BYTES);
+ context_->net_log()->DeprecatedAddObserver(
+ net_log_observer_.get(),
+ net::NetLogCaptureMode::IncludeCookiesAndCredentials());
}
is_context_initialized_ = true;

Powered by Google App Engine
This is Rietveld 408576698