heap_snapshot.h 458 B

12345678910111213141516171819202122
  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 ELECTRON_SHELL_COMMON_HEAP_SNAPSHOT_H_
  5. #define ELECTRON_SHELL_COMMON_HEAP_SNAPSHOT_H_
  6. namespace base {
  7. class File;
  8. }
  9. namespace v8 {
  10. class Isolate;
  11. }
  12. namespace electron {
  13. bool TakeHeapSnapshot(v8::Isolate* isolate, base::File* file);
  14. } // namespace electron
  15. #endif // ELECTRON_SHELL_COMMON_HEAP_SNAPSHOT_H_