OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 var Event = require('event_bindings').Event; | 5 var Event = require('event_bindings').Event; |
6 var forEach = require('utils').forEach; | 6 var forEach = require('utils').forEach; |
7 var GetAvailability = requireNative('v8_context').GetAvailability; | 7 var GetAvailability = requireNative('v8_context').GetAvailability; |
8 var exceptionHandler = require('uncaught_exception_handler'); | 8 var exceptionHandler = require('uncaught_exception_handler'); |
9 var lastError = require('lastError'); | 9 var lastError = require('lastError'); |
10 var logActivity = requireNative('activityLogger'); | 10 var logActivity = requireNative('activityLogger'); |
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 console.error('chrome.' + schema.namespace + ' is not available: ' + | 517 console.error('chrome.' + schema.namespace + ' is not available: ' + |
518 availability.message); | 518 availability.message); |
519 return; | 519 return; |
520 } | 520 } |
521 | 521 |
522 this.runHooks_(mod); | 522 this.runHooks_(mod); |
523 return mod; | 523 return mod; |
524 } | 524 } |
525 }; | 525 }; |
526 | 526 |
527 exports.Binding = Binding; | 527 exports.$set('Binding', Binding); |
OLD | NEW |