move profiling code to platform-specific

pull/2/head
gorhill 9 years ago
parent 6123bff635
commit 754aa6cd8b

@ -477,6 +477,12 @@ vAPI.net.registerListeners = function() {
};
chrome.webRequest.onBeforeRequest.addListener(
onBeforeRequest,
//function(details) {
// quickProfiler.start('onBeforeRequest');
// var r = onBeforeRequest(details);
// quickProfiler.stop();
// return r;
//},
{
'urls': this.onBeforeRequest.urls || ['<all_urls>'],
'types': this.onBeforeRequest.types || []

Loading…
Cancel
Save