add back the missing 'resourceType' property
This commit is contained in:
parent
a01abd0fee
commit
e66341ec59
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ void ToDictionary(base::DictionaryValue* details, net::URLRequest* request) {
|
||||||
content::RenderFrameHost::FromID(process_id, frame_id));
|
content::RenderFrameHost::FromID(process_id, frame_id));
|
||||||
details->SetInteger("webContentsId",
|
details->SetInteger("webContentsId",
|
||||||
atom::api::WebContents::GetIDFromWrappedClass(webContents));
|
atom::api::WebContents::GetIDFromWrappedClass(webContents));
|
||||||
|
details->SetString("resourceType",
|
||||||
|
ResourceTypeToString(info->GetResourceType()));
|
||||||
} else {
|
} else {
|
||||||
details->SetString("resourceType", "other");
|
details->SetString("resourceType", "other");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue