Remove dead code for legacy heap profiler.

This CL is a refactor with no intended behavior change.

This CL:
  * Removes the mojom interface ClientProcesss::EnableHeapProfiling.
  * Removes the implementation, primarily hosted in MemoryDumpManager.

Change-Id: Id55835da60d86520f692385930208a31206f7dce
Bug: 822843
TBR: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/1069000
Reviewed-by: Daniel Cheng <[email protected]>
Reviewed-by: Siddhartha S <[email protected]>
Commit-Queue: Erik Chen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#562017}
diff --git a/sql/connection_unittest.cc b/sql/connection_unittest.cc
index 3042fd7..5fd0440 100644
--- a/sql/connection_unittest.cc
+++ b/sql/connection_unittest.cc
@@ -1422,7 +1422,7 @@
 TEST_F(SQLConnectionTest, OnMemoryDump) {
   base::trace_event::MemoryDumpArgs args = {
       base::trace_event::MemoryDumpLevelOfDetail::DETAILED};
-  base::trace_event::ProcessMemoryDump pmd(nullptr, args);
+  base::trace_event::ProcessMemoryDump pmd(args);
   ASSERT_TRUE(db().memory_dump_provider_->OnMemoryDump(args, &pmd));
   EXPECT_GE(pmd.allocator_dumps().size(), 1u);
 }