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

Unified Diff: base/debug/trace_event.h

Issue 3945002: Move debug-related stuff from base to the base/debug directory and use the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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 | « base/debug/stack_trace_win.cc ('k') | base/debug/trace_event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/trace_event.h
===================================================================
--- base/debug/trace_event.h (revision 0)
+++ base/debug/trace_event.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -12,8 +12,8 @@
// trace report. In the future, it may use another mechansim to facilitate
// real-time analysis.
-#ifndef BASE_TRACE_EVENT_H_
-#define BASE_TRACE_EVENT_H_
+#ifndef BASE_DEBUG_TRACE_EVENT_H_
+#define BASE_DEBUG_TRACE_EVENT_H_
#pragma once
#include "build/build_config.h"
@@ -26,7 +26,7 @@
// value of the CHROMIUM_ENABLE_TRACE_EVENT define. The Windows implementation
// is controlled by Event Tracing for Windows, which will turn tracing on only
// if there is someone listening for the events it generates.
-#include "base/trace_event_win.h"
+#include "base/debug/trace_event_win.h"
#else // defined(OS_WIN)
#include <string>
@@ -80,10 +80,10 @@
#endif // CHROMIUM_ENABLE_TRACE_EVENT
namespace base {
+
class ProcessMetrics;
-}
-namespace base {
+namespace debug {
class TraceLog {
public:
@@ -136,7 +136,9 @@
RepeatingTimer<TraceLog> timer_;
};
-} // namespace base
+} // namespace debug
+} // namespace base
+
#endif // defined(OS_WIN)
-#endif // BASE_TRACE_EVENT_H_
+#endif // BASE_DEBUG_TRACE_EVENT_H_
« no previous file with comments | « base/debug/stack_trace_win.cc ('k') | base/debug/trace_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698