blob: 1ebd0d055bc59c153351e852ab4d84ac1deb3243 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Custom binding for the webRequest API.
if (!apiBridge) {
var binding = require('binding').Binding.create('webRequest');
var webRequestEvent = require('webRequestEvent').WebRequestEvent;
binding.registerCustomEvent(webRequestEvent);
exports.$set('binding', binding.generate());
}