No NetLog anymore, use NetLogCaptureMode.

This commit is contained in:
Haojian Wu 2015-07-23 14:49:13 +08:00 committed by Cheng Zhao
parent 97cf8ca609
commit ef91261aa5

View file

@ -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());
}
}
}