| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 /** | 184 /** |
| 185 * @interface | 185 * @interface |
| 186 */ | 186 */ |
| 187 InspectorBackendClass.Connection = function() {}; | 187 InspectorBackendClass.Connection = function() {}; |
| 188 | 188 |
| 189 InspectorBackendClass.Connection.prototype = { | 189 InspectorBackendClass.Connection.prototype = { |
| 190 /** | 190 /** |
| 191 * @param {string} message | 191 * @param {string} message |
| 192 */ | 192 */ |
| 193 sendMessage: function(message) {}, | 193 sendMessage(message) {}, |
| 194 | 194 |
| 195 /** | 195 /** |
| 196 * @return {!Promise} | 196 * @return {!Promise} |
| 197 */ | 197 */ |
| 198 disconnect: function() {}, | 198 disconnect() {}, |
| 199 }; | 199 }; |
| 200 | 200 |
| 201 /** | 201 /** |
| 202 * @typedef {!{ | 202 * @typedef {!{ |
| 203 * onMessage: function((!Object|string)), | 203 * onMessage: function((!Object|string)), |
| 204 * onDisconnect: function(string) | 204 * onDisconnect: function(string) |
| 205 * }} | 205 * }} |
| 206 */ | 206 */ |
| 207 InspectorBackendClass.Connection.Params; | 207 InspectorBackendClass.Connection.Params; |
| 208 | 208 |
| (...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 if (InspectorBackendClass.Options.dumpInspectorTimeStats) | 722 if (InspectorBackendClass.Options.dumpInspectorTimeStats) |
| 723 console.log('time-stats: ' + messageObject.method + ' = ' + (Date.now() -
processingStartTime)); | 723 console.log('time-stats: ' + messageObject.method + ' = ' + (Date.now() -
processingStartTime)); |
| 724 } | 724 } |
| 725 }; | 725 }; |
| 726 | 726 |
| 727 InspectorBackendClass.Options = { | 727 InspectorBackendClass.Options = { |
| 728 dumpInspectorTimeStats: false, | 728 dumpInspectorTimeStats: false, |
| 729 dumpInspectorProtocolMessages: false, | 729 dumpInspectorProtocolMessages: false, |
| 730 suppressRequestErrors: false | 730 suppressRequestErrors: false |
| 731 }; | 731 }; |
| OLD | NEW |