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

Unified Diff: net/base/capturing_net_log.cc

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/capturing_net_log_observer.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
diff --git a/net/base/capturing_net_log.cc b/net/base/capturing_net_log.cc
deleted file mode 100644
index f2e2c04df7e45e8089b338d08bcff11800374835..0000000000000000000000000000000000000000
--- a/net/base/capturing_net_log.cc
+++ /dev/null
@@ -1,70 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "net/base/capturing_net_log.h"
-
-namespace net {
-
-CapturingNetLog::CapturingNetLog() {
- AddThreadSafeObserver(&capturing_net_log_observer_, LOG_ALL_BUT_BYTES);
-}
-
-CapturingNetLog::~CapturingNetLog() {
- RemoveThreadSafeObserver(&capturing_net_log_observer_);
-}
-
-void CapturingNetLog::SetLogLevel(NetLog::LogLevel log_level) {
- SetObserverLogLevel(&capturing_net_log_observer_, log_level);
-}
-
-void CapturingNetLog::GetEntries(
- CapturingNetLog::CapturedEntryList* entry_list) const {
- capturing_net_log_observer_.GetEntries(entry_list);
-}
-
-void CapturingNetLog::GetEntriesForSource(
- NetLog::Source source,
- CapturedEntryList* entry_list) const {
- capturing_net_log_observer_.GetEntriesForSource(source, entry_list);
-}
-
-size_t CapturingNetLog::GetSize() const {
- return capturing_net_log_observer_.GetSize();
-}
-
-void CapturingNetLog::Clear() {
- capturing_net_log_observer_.Clear();
-}
-
-CapturingBoundNetLog::CapturingBoundNetLog()
- : net_log_(BoundNetLog::Make(&capturing_net_log_,
- net::NetLog::SOURCE_NONE)) {
-}
-
-CapturingBoundNetLog::~CapturingBoundNetLog() {}
-
-void CapturingBoundNetLog::GetEntries(
- CapturingNetLog::CapturedEntryList* entry_list) const {
- capturing_net_log_.GetEntries(entry_list);
-}
-
-void CapturingBoundNetLog::GetEntriesForSource(
- NetLog::Source source,
- CapturingNetLog::CapturedEntryList* entry_list) const {
- capturing_net_log_.GetEntriesForSource(source, entry_list);
-}
-
-size_t CapturingBoundNetLog::GetSize() const {
- return capturing_net_log_.GetSize();
-}
-
-void CapturingBoundNetLog::Clear() {
- 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/capturing_net_log_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698