blob: 1ebd0d055bc59c153351e852ab4d84ac1deb3243 [file] [log] [blame]
[email protected]50dc50e2012-01-12 16:16:291// Copyright (c) 2012 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]4f1633f2013-03-09 14:26:245// Custom binding for the webRequest API.
6
rdevlin.cronin32c373c82017-04-06 18:41:187if (!apiBridge) {
karandeepb660082322017-06-06 20:13:448 var binding = require('binding').Binding.create('webRequest');
rdevlin.cronin32c373c82017-04-06 18:41:189 var webRequestEvent = require('webRequestEvent').WebRequestEvent;
10 binding.registerCustomEvent(webRequestEvent);
11 exports.$set('binding', binding.generate());
12}