Allow tracing in third_party libraries

This is step 1 -- refactor the code to allow us to split up trace_event.h into trace_event.h and trace_event_export.h/cc.

Step 2 is to cut out trace_event_export.h/cc.

The _export.h/cc will be laid out so they can be copied to other third_party libraries and then tweaked to call through to chromium's internal tracing API via platform APIs or function pointers.

To make these APIs easily exportable, this change primarily aims to eliminate the custom objects (ie: TraceValue) and types that will cause problems when defined in multiple libraries. The macros and internal namespace are destined for trace_event_export.h/cc in a future CL.

BUG=109779

Review URL: http://codereview.chromium.org/9155024

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117598 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 761550737a7bd68856f2a28fe389b23d135ddcc2
5 files changed
tree: 70fed406a922353503d123730754a606da0184c9
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/