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.
|
|
|
|
|
2019-06-19 13:56:58 -07:00
|
|
|
#ifndef SHELL_COMMON_HEAP_SNAPSHOT_H_
|
|
|
|
#define 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
|
|
|
|
2019-06-19 13:56:58 -07:00
|
|
|
#endif // SHELL_COMMON_HEAP_SNAPSHOT_H_
|