OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // 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 | 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 handleUncaughtException = require('uncaught_exception_handler').handle; | 5 var handleUncaughtException = require('uncaught_exception_handler').handle; |
6 var lastError = require('lastError'); | 6 var lastError = require('lastError'); |
7 var logging = requireNative('logging'); | 7 var logging = requireNative('logging'); |
8 var natives = requireNative('sendRequest'); | 8 var natives = requireNative('sendRequest'); |
9 var processNatives = requireNative('process'); | 9 var processNatives = requireNative('process'); |
10 var validate = require('schemaUtils').validate; | 10 var validate = require('schemaUtils').validate; |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 } | 169 } |
170 | 170 |
171 exports.sendRequest = sendRequest; | 171 exports.sendRequest = sendRequest; |
172 exports.getCalledSendRequest = getCalledSendRequest; | 172 exports.getCalledSendRequest = getCalledSendRequest; |
173 exports.clearCalledSendRequest = clearCalledSendRequest; | 173 exports.clearCalledSendRequest = clearCalledSendRequest; |
174 exports.safeCallbackApply = safeCallbackApply; | 174 exports.safeCallbackApply = safeCallbackApply; |
175 exports.getExtensionStackTrace = getExtensionStackTrace; | 175 exports.getExtensionStackTrace = getExtensionStackTrace; |
176 | 176 |
177 // Called by C++. | 177 // Called by C++. |
178 exports.handleResponse = handleResponse; | 178 exports.handleResponse = handleResponse; |
OLD | NEW |