summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/task_manager/preload.js
diff options
context:
space:
mode:
authordbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-20 02:50:45 +0000
committerdbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-20 02:50:45 +0000
commitc4991f239998abe4a577be06c4419666c85556cd (patch)
tree33cff918c80bc3333f095886a4d0ca0981cd9e94 /chrome/browser/resources/task_manager/preload.js
parent3024571e695e2da3e3caaed51302806b93c8973d (diff)
downloadchromium_src-c4991f239998abe4a577be06c4419666c85556cd.zip
chromium_src-c4991f239998abe4a577be06c4419666c85556cd.tar.gz
chromium_src-c4991f239998abe4a577be06c4419666c85556cd.tar.bz2
[web_dev_style] (Boolean|Number|String) -> (boolean|number|string) and add
presubmit check. BUG=113202 TEST=chrome/browser/resources/test_presubmit.py Review URL: https://codereview.chromium.org/11628003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174083 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/task_manager/preload.js')
-rw-r--r--chrome/browser/resources/task_manager/preload.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/resources/task_manager/preload.js b/chrome/browser/resources/task_manager/preload.js
index 6f4d911..ea52142 100644
--- a/chrome/browser/resources/task_manager/preload.js
+++ b/chrome/browser/resources/task_manager/preload.js
@@ -44,8 +44,8 @@ function getEnabledColumns() {
}
/**
- * @return {Boolean} the given column (at |columnId|) is enabled or not.
- * @param {String} columnId The ID of the collumn to be checked.
+ * @return {boolean} the given column (at |columnId|) is enabled or not.
+ * @param {string} columnId The ID of the collumn to be checked.
*/
function isColumnEnabled(columnId) {
return (getEnabledColumns())[columnId];
@@ -53,8 +53,8 @@ function isColumnEnabled(columnId) {
/**
* Sets the given column either enabled or disabled.
- * @param {String} columnId The ID of the collumn to be set.
- * @param {Boolean} newChecked True, to set the column enable. False otherwise.
+ * @param {string} columnId The ID of the collumn to be set.
+ * @param {boolean} newChecked True, to set the column enable. False otherwise.
*/
function setColumnEnabled(columnId, newChecked) {
commands.setUpdateColumn(columnId, newChecked);