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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
43 | 43 |
44 InspectorBackendClass.prototype = { | 44 InspectorBackendClass.prototype = { |
45 | 45 |
46 _initProtocolAgentsConstructor: function() | 46 _initProtocolAgentsConstructor: function() |
47 { | 47 { |
48 window.Protocol = {}; | 48 window.Protocol = {}; |
49 | 49 |
50 /** | 50 /** |
51 * @constructor | 51 * @constructor |
52 * @param {!Object.<string, !Object>} agentsMap | 52 * @param {!Object.<string, !Object>} agentsMap |
53 * @this {InspectorBackendClass} | |
sergeyv
2014/06/05 17:13:36
this annotation is wrong. this function is a cons
apavlov
2014/06/05 18:41:42
Oops, my bad! The validator should not require @th
| |
53 */ | 54 */ |
54 window.Protocol.Agents = function(agentsMap) { | 55 window.Protocol.Agents = function(agentsMap) { |
55 this._agentsMap = agentsMap; | 56 this._agentsMap = agentsMap; |
56 }; | 57 }; |
57 }, | 58 }, |
58 | 59 |
59 /** | 60 /** |
60 * @param {string} domain | 61 * @param {string} domain |
61 */ | 62 */ |
62 _addAgentGetterMethodToProtocolAgentsPrototype: function(domain) | 63 _addAgentGetterMethodToProtocolAgentsPrototype: function(domain) |
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
868 } | 869 } |
869 | 870 |
870 } | 871 } |
871 | 872 |
872 InspectorBackendClass.Options = { | 873 InspectorBackendClass.Options = { |
873 dumpInspectorTimeStats: false, | 874 dumpInspectorTimeStats: false, |
874 dumpInspectorProtocolMessages: false | 875 dumpInspectorProtocolMessages: false |
875 } | 876 } |
876 | 877 |
877 InspectorBackend = new InspectorBackendClass(); | 878 InspectorBackend = new InspectorBackendClass(); |
OLD | NEW |