refactor: only access memory coordinator interface from browser process (#31295)
Refs 3174305
This commit is contained in:
parent
34599114ce
commit
2a92d8f962
9 changed files with 54 additions and 10 deletions
|
@ -323,6 +323,7 @@ class WebContents : public gin::Wrappable<WebContents>,
|
|||
|
||||
v8::Local<v8::Promise> TakeHeapSnapshot(v8::Isolate* isolate,
|
||||
const base::FilePath& file_path);
|
||||
v8::Local<v8::Promise> GetProcessMemoryInfo(v8::Isolate* isolate);
|
||||
|
||||
// Properties.
|
||||
int32_t ID() const { return id_; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue