2018-09-18 20:00:31 +02:00
|
|
|
// Copyright (c) 2018 GitHub, Inc.
|
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2021-11-22 08:34:31 +01:00
|
|
|
#ifndef ELECTRON_SHELL_COMMON_HEAP_SNAPSHOT_H_
|
|
|
|
#define ELECTRON_SHELL_COMMON_HEAP_SNAPSHOT_H_
|
2018-09-18 20:00:31 +02:00
|
|
|
|
2021-07-01 17:51:37 -07:00
|
|
|
namespace base {
|
|
|
|
class File;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace v8 {
|
|
|
|
class Isolate;
|
|
|
|
}
|
2018-09-18 20:00:31 +02:00
|
|
|
|
2019-06-19 14:23:04 -07:00
|
|
|
namespace electron {
|
2018-09-18 20:00:31 +02:00
|
|
|
|
|
|
|
bool TakeHeapSnapshot(v8::Isolate* isolate, base::File* file);
|
|
|
|
|
2019-06-19 14:23:04 -07:00
|
|
|
} // namespace electron
|
2018-09-18 20:00:31 +02:00
|
|
|
|
2021-11-22 08:34:31 +01:00
|
|
|
#endif // ELECTRON_SHELL_COMMON_HEAP_SNAPSHOT_H_
|