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

Unified Diff: chrome/browser/resources/extensions/extension_commands_overlay.js

Issue 475633006: Typecheck JS files for chrome://extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@D_asserts_codingconvention
Patch Set: looked twice Created 6 years, 4 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: chrome/browser/resources/extensions/extension_commands_overlay.js
diff --git a/chrome/browser/resources/extensions/extension_commands_overlay.js b/chrome/browser/resources/extensions/extension_commands_overlay.js
index 64f595656508977690ddcec4a9466d32bbdd0275..5c77b7c8f0272049d73ce787f4fbd68c334be97a 100644
--- a/chrome/browser/resources/extensions/extension_commands_overlay.js
+++ b/chrome/browser/resources/extensions/extension_commands_overlay.js
@@ -51,6 +51,8 @@ cr.define('extensions', function() {
/**
* Called by the dom_ui_ to re-populate the page with data representing
* the current state of extension commands.
+ * @param {{commands: Array.<{name: string, id: string, commands: ?Array}>}}
Dan Beam 2014/08/21 18:27:47 nit: {!{
Vitaly Pavlenko 2014/08/22 01:43:40 Done.
+ * extensionsData
*/
ExtensionCommandsOverlay.returnExtensionsData = function(extensionsData) {
ExtensionCommandList.prototype.data_ = extensionsData;
@@ -68,7 +70,7 @@ cr.define('extensions', function() {
list.classList.add('empty-extension-commands-list');
else
list.classList.remove('empty-extension-commands-list');
- }
+ };
// Export
return {

Powered by Google App Engine
This is Rietveld 408576698