| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 * @param {!Object} messageObject | 313 * @param {!Object} messageObject |
| 314 */ | 314 */ |
| 315 sendMessage: function(messageObject) | 315 sendMessage: function(messageObject) |
| 316 { | 316 { |
| 317 throw "Not implemented"; | 317 throw "Not implemented"; |
| 318 }, | 318 }, |
| 319 | 319 |
| 320 /** | 320 /** |
| 321 * @param {string} method | 321 * @param {string} method |
| 322 * @param {?Object} params | 322 * @param {?Object} params |
| 323 * @param {?function(*)} callback | 323 * @param {?function(...*)} callback |
| 324 */ | 324 */ |
| 325 sendRawMessageForTesting: function(method, params, callback) | 325 sendRawMessageForTesting: function(method, params, callback) |
| 326 { | 326 { |
| 327 var domain = method.split(".")[0]; | 327 var domain = method.split(".")[0]; |
| 328 this._wrapCallbackAndSendMessageObject(domain, method, params, callback)
; | 328 this._wrapCallbackAndSendMessageObject(domain, method, params, callback)
; |
| 329 }, | 329 }, |
| 330 | 330 |
| 331 /** | 331 /** |
| 332 * @param {!Object|string} message | 332 * @param {!Object|string} message |
| 333 */ | 333 */ |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 733 } | 733 } |
| 734 } | 734 } |
| 735 | 735 |
| 736 InspectorBackendClass.Options = { | 736 InspectorBackendClass.Options = { |
| 737 dumpInspectorTimeStats: false, | 737 dumpInspectorTimeStats: false, |
| 738 dumpInspectorProtocolMessages: false, | 738 dumpInspectorProtocolMessages: false, |
| 739 suppressRequestErrors: false | 739 suppressRequestErrors: false |
| 740 } | 740 } |
| 741 | 741 |
| 742 InspectorBackend = new InspectorBackendClass(); | 742 InspectorBackend = new InspectorBackendClass(); |
| OLD | NEW |