heap_snapshot.h 423 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 SHELL_COMMON_HEAP_SNAPSHOT_H_
  5. #define SHELL_COMMON_HEAP_SNAPSHOT_H_
  6. #include "base/files/file.h"
  7. #include "v8/include/v8.h"
  8. namespace electron {
  9. bool TakeHeapSnapshot(v8::Isolate* isolate, base::File* file);
  10. } // namespace electron
  11. #endif // SHELL_COMMON_HEAP_SNAPSHOT_H_