feat: allow setting capture mode and max file size in netLog API (#19215)
This commit is contained in:
parent
8028c57b42
commit
477661d0e4
5 changed files with 102 additions and 13 deletions
|
@ -31,7 +31,8 @@ class NetLog : public mate::TrackableObject<NetLog> {
|
|||
static void BuildPrototype(v8::Isolate* isolate,
|
||||
v8::Local<v8::FunctionTemplate> prototype);
|
||||
|
||||
v8::Local<v8::Promise> StartLogging(mate::Arguments* args);
|
||||
v8::Local<v8::Promise> StartLogging(base::FilePath log_path,
|
||||
mate::Arguments* args);
|
||||
v8::Local<v8::Promise> StopLogging(mate::Arguments* args);
|
||||
bool IsCurrentlyLogging() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue