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

Unified Diff: base/traced_object.h

Issue 19642005: Make TracedValue lower overhead. Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed lint errors. Created 7 years, 5 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
« base/trace_event_value_unittest.cc ('K') | « base/trace_event_value_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/traced_object.h
diff --git a/base/traced_object.h b/base/traced_object.h
new file mode 100644
index 0000000000000000000000000000000000000000..4928ff8b0f850c743351d638912276e4aff0c65a
--- /dev/null
+++ b/base/traced_object.h
@@ -0,0 +1,23 @@
+// 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_TRACED_OBJECT_H_
+#define BASE_TRACED_OBJECT_H_
+
+#include "base/trace_event_value.h"
+
+namespace base {
+
+class TracedValue;
+
+class BASE_EXPORT TracedObject {
+ public:
+ virtual ~TracedObject() {}
rterrazas 2013/07/21 22:23:49 This is the interface I mentioned, implementing th
dsinclair 2013/07/23 14:56:29 As above, I don't think this is needed. Is there a
+ virtual void PushInto(base::TracedValue* traced_value) const {}
+};
+
+} // namespace base
+
+#endif // BASE_TRACED_OBJECT_H_
+
« base/trace_event_value_unittest.cc ('K') | « base/trace_event_value_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698