Browse Source

move profiling code to platform-specific

pull/2/head
gorhill 10 years ago
parent
commit
754aa6cd8b
  1. 6
      platform/chromium/vapi-background.js

6
platform/chromium/vapi-background.js

@ -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