From ef91261aa5dd013b99cfd5c832b2ed72012bbc50 Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Thu, 23 Jul 2015 14:49:13 +0800 Subject: [PATCH] No NetLog anymore, use NetLogCaptureMode. --- brightray/browser/net_log.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/brightray/browser/net_log.cc b/brightray/browser/net_log.cc index 6a2b9c3d76..fae651515e 100644 --- a/brightray/browser/net_log.cc +++ b/brightray/browser/net_log.cc @@ -11,6 +11,7 @@ #include "base/logging.h" #include "content/public/common/content_switches.h" #include "net/log/net_log_util.h" +#include "net/log/net_log_capture_mode.h" #include "net/url_request/url_request_context.h" namespace { @@ -65,7 +66,7 @@ NetLog::NetLog(net::URLRequestContext* context) net::CreateNetLogEntriesForActiveObjects(contexts, this); } - DeprecatedAddObserver(this, net::NetLog::LogLevel::LOG_STRIP_PRIVATE_DATA); + DeprecatedAddObserver(this, net::NetLogCaptureMode::Default()); } } }