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

Unified Diff: net/disk_cache/blockfile/trace.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/disk_cache/blockfile/stress_support.h ('k') | net/disk_cache/blockfile/trace.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/blockfile/trace.h
diff --git a/net/disk_cache/blockfile/trace.h b/net/disk_cache/blockfile/trace.h
deleted file mode 100644
index 6805e6c60c27dedd06f69e8f4572afa3d5181669..0000000000000000000000000000000000000000
--- a/net/disk_cache/blockfile/trace.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2011 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.
-
-// This file provides support for basic in-memory tracing of short events. We
-// keep a static circular buffer where we store the last traced events, so we
-// can review the cache recent behavior should we need it.
-
-#ifndef NET_DISK_CACHE_BLOCKFILE_TRACE_H_
-#define NET_DISK_CACHE_BLOCKFILE_TRACE_H_
-
-#include "base/basictypes.h"
-#include "base/memory/ref_counted.h"
-#include "net/base/net_export.h"
-
-namespace disk_cache {
-
-// Create and destroy the tracing buffer.
-void InitTrace(void);
-void DestroyTrace(void);
-
-// Simple class to handle the trace buffer lifetime. Any object interested in
-// tracing should keep a reference to the object returned by GetTraceObject().
-class TraceObject : public base::RefCounted<TraceObject> {
- friend class base::RefCounted<TraceObject>;
- public:
- static TraceObject* GetTraceObject();
- void EnableTracing(bool enable);
-
- private:
- TraceObject();
- ~TraceObject();
- DISALLOW_COPY_AND_ASSIGN(TraceObject);
-};
-
-// Traces to the internal buffer.
-NET_EXPORT_PRIVATE void Trace(const char* format, ...);
-
-} // namespace disk_cache
-
-#endif // NET_DISK_CACHE_BLOCKFILE_TRACE_H_
« no previous file with comments | « net/disk_cache/blockfile/stress_support.h ('k') | net/disk_cache/blockfile/trace.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698