heap_snapshot.h 412 B

1234567891011121314151617
  1. // Copyright (c) 2018 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #ifndef ATOM_COMMON_HEAP_SNAPSHOT_H_
  5. #define ATOM_COMMON_HEAP_SNAPSHOT_H_
  6. #include "base/files/file.h"
  7. #include "v8/include/v8.h"
  8. namespace atom {
  9. bool TakeHeapSnapshot(v8::Isolate* isolate, base::File* file);
  10. } // namespace atom
  11. #endif // ATOM_COMMON_HEAP_SNAPSHOT_H_