summaryrefslogtreecommitdiffstats
path: root/net/base/net_log.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 00:12:13 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 00:12:13 +0000
commitbe1a48bcd64ea75939f38a9ab264ee99214313bb (patch)
treec9aa66838177a6e10757ae4547e731a490420bfa /net/base/net_log.cc
parentf1e99b1b03848eb939fd3f51b56de1b23dfab057 (diff)
downloadchromium_src-be1a48bcd64ea75939f38a9ab264ee99214313bb.zip
chromium_src-be1a48bcd64ea75939f38a9ab264ee99214313bb.tar.gz
chromium_src-be1a48bcd64ea75939f38a9ab264ee99214313bb.tar.bz2
Even more reordering the methods in headers and implementation in net/.
BUG=68682 TEST=compiles Review URL: http://codereview.chromium.org/6314010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71880 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/net_log.cc')
-rw-r--r--net/base/net_log.cc28
1 files changed, 14 insertions, 14 deletions
diff --git a/net/base/net_log.cc b/net/base/net_log.cc
index 0f1bac4..4484a8a0 100644
--- a/net/base/net_log.cc
+++ b/net/base/net_log.cc
@@ -127,20 +127,6 @@ void BoundNetLog::AddEntryWithTime(
}
}
-NetLog::LogLevel BoundNetLog::GetLogLevel() const {
- if (net_log_)
- return net_log_->GetLogLevel();
- return NetLog::LOG_BASIC;
-}
-
-bool BoundNetLog::IsLoggingBytes() const {
- return GetLogLevel() == NetLog::LOG_ALL;
-}
-
-bool BoundNetLog::IsLoggingAllEvents() const {
- return GetLogLevel() <= NetLog::LOG_ALL_BUT_BYTES;
-}
-
void BoundNetLog::AddEvent(
NetLog::EventType event_type,
const scoped_refptr<NetLog::EventParameters>& params) const {
@@ -171,6 +157,20 @@ void BoundNetLog::EndEventWithNetErrorCode(NetLog::EventType event_type,
}
}
+NetLog::LogLevel BoundNetLog::GetLogLevel() const {
+ if (net_log_)
+ return net_log_->GetLogLevel();
+ return NetLog::LOG_BASIC;
+}
+
+bool BoundNetLog::IsLoggingBytes() const {
+ return GetLogLevel() == NetLog::LOG_ALL;
+}
+
+bool BoundNetLog::IsLoggingAllEvents() const {
+ return GetLogLevel() <= NetLog::LOG_ALL_BUT_BYTES;
+}
+
// static
BoundNetLog BoundNetLog::Make(NetLog* net_log,
NetLog::SourceType source_type) {