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

Unified Diff: net/tools/gdig/file_net_log.h

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/tools/flip_server/streamer_interface.cc ('k') | net/tools/gdig/file_net_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/gdig/file_net_log.h
diff --git a/net/tools/gdig/file_net_log.h b/net/tools/gdig/file_net_log.h
deleted file mode 100644
index 62ba2219d3d0c87cffaef52aff7a44b29d7a3e71..0000000000000000000000000000000000000000
--- a/net/tools/gdig/file_net_log.h
+++ /dev/null
@@ -1,37 +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.
-
-#ifndef NET_TOOLS_GDIG_FILE_NET_LOG_H_
-#define NET_TOOLS_GDIG_FILE_NET_LOG_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "base/synchronization/lock.h"
-#include "base/time/time.h"
-#include "net/base/net_log.h"
-
-namespace net {
-
-// FileNetLogObserver is a simple implementation of NetLog::ThreadSafeObserver
-// that prints out all the events received into the stream passed
-// to the constructor.
-class FileNetLogObserver : public NetLog::ThreadSafeObserver {
- public:
- explicit FileNetLogObserver(FILE* destination);
- ~FileNetLogObserver() override;
-
- // NetLog::ThreadSafeObserver implementation:
- void OnAddEntry(const net::NetLog::Entry& entry) override;
-
- private:
- FILE* const destination_;
- base::Lock lock_;
-
- base::Time first_event_time_;
-};
-
-} // namespace net
-
-#endif // NET_TOOLS_GDIG_FILE_NET_LOG_H_
« no previous file with comments | « net/tools/flip_server/streamer_interface.cc ('k') | net/tools/gdig/file_net_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698