data/test/cpp/c8be8f89312a34d5b0bdd3996c3abebbc143f10bmemory_dump_manager.cc
void MemoryDumpManager::CreateLocalDumpPoint() {
  AutoLock lock(lock_);
  scoped_ptr<ProcessMemoryDump> pmd(new ProcessMemoryDump());

  for (MemoryDumpProvider* dump_provider : dump_providers_enabled_) {
    dump_provider->DumpInto(pmd.get());
  }

  scoped_refptr<TracedValue> value(new TracedValue());
  pmd->AsValueInto(value.get());
  // TODO(primiano): add the dump point to the trace at this point.
}
// Creates a dump point for the current process and appends it to the trace.
Creates a dump point for the current process and appends it to the trace.
Creates a dump point for the current process and appends it to the trace .
void MemoryDumpManager::CreateLocalDumpPoint() {
  AutoLock lock(lock_);
  scoped_ptr<ProcessMemoryDump> pmd(new ProcessMemoryDump());
  for (MemoryDumpProvider* dump_provider : dump_providers_enabled_) {
    dump_provider->DumpInto(pmd.get());
  }
  scoped_refptr<TracedValue> value(new TracedValue());
  pmd->AsValueInto(value.get());
}
void MemoryDumpManager :: CreateLocalDumpPoint ( ) { AutoLock lock ( lock_ ) ; scoped_ptr < ProcessMemoryDump > pmd ( new ProcessMemoryDump ( ) ) ; for ( MemoryDumpProvider * dump_provider : dump_providers_enabled_ ) { dump_provider -> DumpInto ( pmd . get ( ) ) ; } scoped_refptr < TracedValue > value ( new TracedValue ( ) ) ; pmd -> AsValueInto ( value . get ( ) ) ; }
Creates a dump point for the current process and appends it to the trace.
Creates a dump point for the current process and appends it to the trace .
// TODO(primiano): add the dump point to the trace at this point.