Chromium Code Reviews| Index: base/debug/traced_object.h |
| diff --git a/base/debug/traced_object.h b/base/debug/traced_object.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..adc9d96a04ba006a170e9595202db41087539540 |
| --- /dev/null |
| +++ b/base/debug/traced_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_TRACED_OBJECT_H_ |
|
dsinclair
2013/08/07 15:40:20
BASE_DEBUG_TRACED_OBJECT_H_
rterrazas
2013/08/08 06:21:30
Done.
|
| +#define BASE_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 |
| + |