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

Unified Diff: base/debug/trace_event_object.h

Issue 19642005: Make TracedValue lower overhead. Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Validations for dictionary entries, CR comments, and additional check before writting. Created 7 years, 4 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
Index: base/debug/trace_event_object.h
diff --git a/base/debug/trace_event_object.h b/base/debug/trace_event_object.h
new file mode 100644
index 0000000000000000000000000000000000000000..8646e1684f70c7b5bea5fc179de7b9c61174bbd7
--- /dev/null
+++ b/base/debug/trace_event_object.h
@@ -0,0 +1,25 @@
+// Copyright 2013 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 BASE_DEBUG_TRACED_OBJECT_H_
+#define BASE_DEBUG_TRACED_OBJECT_H_
+
+#include "base/debug/trace_event_value.h"
+
+namespace base {
+namespace debug {
+
+class TracedValue;
+
+class BASE_EXPORT TracedObject {
+ public:
+ virtual ~TracedObject() {}
+ virtual void PushInto(base::debug::TracedValue* traced_value) const = 0;
+};
+
+} // namespace debug
+} // namespace base
+
+#endif
+
« no previous file with comments | « base/base.gypi ('k') | base/debug/trace_event_value.h » ('j') | base/debug/trace_event_value.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698