add back the missing 'resourceType' property

This commit is contained in:
Boik 2017-09-12 21:27:49 +08:00
parent a01abd0fee
commit e66341ec59

View file

@ -86,6 +86,8 @@ void ToDictionary(base::DictionaryValue* details, net::URLRequest* request) {
content::RenderFrameHost::FromID(process_id, frame_id));
details->SetInteger("webContentsId",
atom::api::WebContents::GetIDFromWrappedClass(webContents));
details->SetString("resourceType",
ResourceTypeToString(info->GetResourceType()));
} else {
details->SetString("resourceType", "other");
}