diff options
author | eroman <eroman@chromium.org> | 2015-04-22 20:11:17 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-23 03:11:23 +0000 |
commit | 001c374c5356777641161bb11b8dd792508381ca (patch) | |
tree | 90ed1b55c3ab4a7aa3d09bb205c6e23035817d22 /remoting/base | |
parent | 14ccb93f5f75f388b6a6b4a9c1eb434f61dbbfef (diff) | |
download | chromium_src-001c374c5356777641161bb11b8dd792508381ca.zip chromium_src-001c374c5356777641161bb11b8dd792508381ca.tar.gz chromium_src-001c374c5356777641161bb11b8dd792508381ca.tar.bz2 |
Refactor NetLog::LogLevel --> NetLogCaptureMode.
This is both a rename, and a functional change.
Before LogLevel was an enum, and consumers would compare its numeric value, or use it for serialization purposes. Whereas NetLogCaptureMode is a class that encapsulates the various capabilities for a logging level.
BUG=472710
TBR=asanka@chromium.org,sergeyu@chromium.org,yurys@chromium.org,bengr@chromium.org,asargent@chromium.org,zea@chromium.org,scherkus@chromium.org
Review URL: https://codereview.chromium.org/1059843002
Cr-Commit-Position: refs/heads/master@{#326440}
Diffstat (limited to 'remoting/base')
-rw-r--r-- | remoting/base/vlog_net_log.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/base/vlog_net_log.cc b/remoting/base/vlog_net_log.cc index db72ad3..39a388a 100644 --- a/remoting/base/vlog_net_log.cc +++ b/remoting/base/vlog_net_log.cc @@ -42,7 +42,8 @@ void VlogNetLog::Observer::OnAddEntry(const net::NetLog::Entry& entry) { VlogNetLog::VlogNetLog() : observer_(new Observer()) { - DeprecatedAddObserver(observer_.get(), LOG_ALL_BUT_BYTES); + DeprecatedAddObserver(observer_.get(), + net::NetLogCaptureMode::IncludeCookiesAndCredentials()); } VlogNetLog::~VlogNetLog() { |