2018-09-18 18:00:31 +00: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 20:56:58 +00:00
|
|
|
#ifndef SHELL_COMMON_HEAP_SNAPSHOT_H_
|
|
|
|
#define SHELL_COMMON_HEAP_SNAPSHOT_H_
|
2018-09-18 18:00:31 +00:00
|
|
|
|
2021-07-02 00:51:37 +00:00
|
|
|
namespace base {
|
|
|
|
class File;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace v8 {
|
|
|
|
class Isolate;
|
|
|
|
}
|
2018-09-18 18:00:31 +00:00
|
|
|
|
2019-06-19 21:23:04 +00:00
|
|
|
namespace electron {
|
2018-09-18 18:00:31 +00:00
|
|
|
|
|
|
|
bool TakeHeapSnapshot(v8::Isolate* isolate, base::File* file);
|
|
|
|
|
2019-06-19 21:23:04 +00:00
|
|
|
} // namespace electron
|
2018-09-18 18:00:31 +00:00
|
|
|
|
2019-06-19 20:56:58 +00:00
|
|
|
#endif // SHELL_COMMON_HEAP_SNAPSHOT_H_
|