Revert of [tracing] Adding task information to heap profiler (patchset #18 id:630001 of https://codereview.chromium.org/1784133002/ )

Reason for revert:
Caused flakiness of trace_test; see Issue 599794.

Original issue's description:
> [tracing] Adding task information to heap profiler
>
> This CL adds more information to the malloc heap profiler added in
> crrev.com/1675183006. The heap profiler only shows trace events and all
> the tasks show up as "MessageLoop::Runtask".
>
> This CL does:
>  - Moves TRACE_TASK_EXECUTION macro from task_annotator to
>    trace_event.h.
>  - Adds extra scoped trace event to track the task context in heap
>    profiler.
>  - The folder where the task was posted from is used to categorize
>    allocations.
>  - Uses the type_name for context temporarily till we define a new
>    context dimension for allocations.
>
> BUG=594803
>
> Committed: https://crrev.com/533c402f8b21e503ebcaf3f0de427f41076b4de1
> Cr-Commit-Position: refs/heads/master@{#384521}

TBR=jochen@chromium.org,dskiba@google.com,oysteine@chromium.org,petrcermak@chromium.org,primiano@chromium.org,skyostil@chromium.org,thakis@chromium.org,ssid@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=594803

Review URL: https://codereview.chromium.org/1846333002

Cr-Commit-Position: refs/heads/master@{#384695}


CrOS-Libchrome-Original-Commit: 7a3a6793b5a471280e64842060d565e6f52e939f
10 files changed
tree: 0521292bd4424409a53326ecad3280200a4aa538
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/