Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(776)

Side by Side Diff: Source/devtools/front_end/sdk/InspectorBackend.js

Issue 319733002: DevTools: [JsDocValidator] Be smarter about function name and JSDoc detection (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/devtools/scripts/jsdoc-validator/hashes » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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();
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/scripts/jsdoc-validator/hashes » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698