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

Unified Diff: net/base/capturing_net_log.cc

Issue 6005015: Revert 70618 - First pass at adding http/backend cache events to the NetLog. ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « net/base/capturing_net_log.h ('k') | net/base/net_log.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/capturing_net_log.cc
===================================================================
--- net/base/capturing_net_log.cc (revision 70618)
+++ net/base/capturing_net_log.cc (working copy)
@@ -18,9 +18,7 @@
CapturingNetLog::Entry::~Entry() {}
CapturingNetLog::CapturingNetLog(size_t max_num_entries)
- : last_id_(-1),
- max_num_entries_(max_num_entries),
- log_level_(LOG_ALL_BUT_BYTES) {
+ : last_id_(-1), max_num_entries_(max_num_entries) {
}
CapturingNetLog::~CapturingNetLog() {}
@@ -41,8 +39,7 @@
}
NetLog::LogLevel CapturingNetLog::GetLogLevel() const {
- AutoLock lock(lock_);
- return log_level_;
+ return LOG_ALL_BUT_BYTES;
}
void CapturingNetLog::GetEntries(EntryList* entry_list) const {
@@ -55,11 +52,6 @@
entries_.clear();
}
-void CapturingNetLog::SetLogLevel(NetLog::LogLevel log_level) {
- AutoLock lock(lock_);
- log_level_ = log_level;
-}
-
CapturingBoundNetLog::CapturingBoundNetLog(const NetLog::Source& source,
CapturingNetLog* net_log)
: source_(source), capturing_net_log_(net_log) {
@@ -79,8 +71,4 @@
capturing_net_log_->Clear();
}
-void CapturingBoundNetLog::SetLogLevel(NetLog::LogLevel log_level) {
- capturing_net_log_->SetLogLevel(log_level);
-}
-
} // namespace net
« no previous file with comments | « net/base/capturing_net_log.h ('k') | net/base/net_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698