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

Unified Diff: Source/devtools/front_end/devices/DevicesView.js

Issue 340513003: DevTools: Add JSDoc for static methods, fix JSDoc types and induced errors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased patch 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/devices/DevicesView.js
diff --git a/Source/devtools/front_end/devices/DevicesView.js b/Source/devtools/front_end/devices/DevicesView.js
index d3a84272c862138bbd51f25bb290ba4203b59870..95248d0cd9ff0b025056b8cd5b75136cc34f427f 100644
--- a/Source/devtools/front_end/devices/DevicesView.js
+++ b/Source/devtools/front_end/devices/DevicesView.js
@@ -29,12 +29,12 @@ WebInspector.DevicesView.MinVersionNewTab = 29;
var Adb = {};
/**
- * @typedef {{adbBrowserChromeVersion:!string, compatibleVersion: boolean, adbBrowserName: !string, source: !string, adbBrowserVersion: !string}}
+ * @typedef {{id: string, adbBrowserChromeVersion: string, compatibleVersion: boolean, adbBrowserName: string, source: string, adbBrowserVersion: string}}
*/
Adb.Browser;
/**
- * @typedef {{adbModel:!string, adbSerial:!string, browsers:!Array.<!Adb.Browser>, adbPortStatus:!Array.<number>, adbConnected: boolean}}
+ * @typedef {{id: string, adbModel: string, adbSerial: string, browsers: !Array.<!Adb.Browser>, adbPortStatus: !Array.<number>, adbConnected: boolean}}
*/
Adb.Device;
@@ -54,7 +54,7 @@ WebInspector.DevicesView.prototype = {
_updateDeviceList: function(devices)
{
/**
- * @param {!string} id
+ * @param {string} id
* @return {string}
*/
function sanitizeForId(id)
« no previous file with comments | « Source/devtools/front_end/console/ConsoleViewMessage.js ('k') | Source/devtools/front_end/elements/Spectrum.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698