Commit 51bf0eaf authored by Luciano Pacheco's avatar Luciano Pacheco Committed by Commit Bot

Remove some unnecessary semicolons as required by presubmit

Bug: 829203
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I605b89d1015fb6a145951871a05bc2db6cf6676e
Reviewed-on: https://chromium-review.googlesource.com/999274
Commit-Queue: Noel Gordon <noel@chromium.org>
Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548716}
parent c388f408
...@@ -48,7 +48,7 @@ function testPromise(promise) { ...@@ -48,7 +48,7 @@ function testPromise(promise) {
return testPromiseAndApps( return testPromiseAndApps(
promise, promise,
[remoteCall, galleryApp, audioPlayerApp, videoPlayerApp]); [remoteCall, galleryApp, audioPlayerApp, videoPlayerApp]);
}; }
/** /**
* Executes a sequence of test steps. * Executes a sequence of test steps.
......
...@@ -32,7 +32,7 @@ function waitAndAcceptDialog(windowId) { ...@@ -32,7 +32,7 @@ function waitAndAcceptDialog(windowId) {
*/ */
function getTreeItems(windowId) { function getTreeItems(windowId) {
return remoteCall.callRemoteTestUtil('getTreeItems', windowId, []); return remoteCall.callRemoteTestUtil('getTreeItems', windowId, []);
}; }
/** /**
* Waits until the directory item appears. * Waits until the directory item appears.
...@@ -112,7 +112,7 @@ function keyboardCopy(path, callback) { ...@@ -112,7 +112,7 @@ function keyboardCopy(path, callback) {
checkIfNoErrorsOccured(this.next); checkIfNoErrorsOccured(this.next);
} }
]); ]);
}; }
/** /**
* Tests deleting a file and and waits until the file lists changes. * Tests deleting a file and and waits until the file lists changes.
...@@ -328,7 +328,7 @@ function testRenameFile(path, initialEntrySet) { ...@@ -328,7 +328,7 @@ function testRenameFile(path, initialEntrySet) {
expectedEntryRows, expectedEntryRows,
{ignoreLastModifiedTime: true}); {ignoreLastModifiedTime: true});
}); });
}; }
testcase.keyboardCopyDownloads = function() { testcase.keyboardCopyDownloads = function() {
keyboardCopy(RootPath.DOWNLOADS); keyboardCopy(RootPath.DOWNLOADS);
......
...@@ -29,7 +29,7 @@ function openQuickViewSteps(appId, filename) { ...@@ -29,7 +29,7 @@ function openQuickViewSteps(appId, filename) {
if (results.length === 0 || if (results.length === 0 ||
results[0].styles.display === 'none') { results[0].styles.display === 'none') {
return pending('Quick View is not opened yet.'); return pending('Quick View is not opened yet.');
}; }
return results; return results;
}); });
}).then(this.next); }).then(this.next);
...@@ -61,7 +61,7 @@ function closeQuickViewSteps(appId) { ...@@ -61,7 +61,7 @@ function closeQuickViewSteps(appId) {
.then(function(results) { .then(function(results) {
if (results.length > 0 && results[0].styles.display !== 'none') { if (results.length > 0 && results[0].styles.display !== 'none') {
return pending('Quick View is not closed yet.'); return pending('Quick View is not closed yet.');
}; }
return; return;
}); });
}).then(this.next); }).then(this.next);
......
...@@ -101,7 +101,7 @@ function share(path) { ...@@ -101,7 +101,7 @@ function share(path) {
checkIfNoErrorsOccured(this.next); checkIfNoErrorsOccured(this.next);
} }
]); ]);
}; }
/** /**
* Tests sharing a file on Drive * Tests sharing a file on Drive
......
...@@ -54,7 +54,7 @@ function testPromiseAndApps(promise, apps) { ...@@ -54,7 +54,7 @@ function testPromiseAndApps(promise, apps) {
}), function(error) { }), function(error) {
chrome.test.fail(error.stack || error); chrome.test.fail(error.stack || error);
}); });
}; }
/** /**
* Interval milliseconds between checks of repeatUntil. * Interval milliseconds between checks of repeatUntil.
...@@ -93,7 +93,7 @@ function pending(message, var_args) { ...@@ -93,7 +93,7 @@ function pending(message, var_args) {
var pendingMarker = Object.create(pending.prototype); var pendingMarker = Object.create(pending.prototype);
pendingMarker.message = formattedMessage; pendingMarker.message = formattedMessage;
return pendingMarker; return pendingMarker;
}; }
/** /**
* Waits until the checkFunction returns a value but a pending marker. * Waits until the checkFunction returns a value but a pending marker.
...@@ -119,7 +119,7 @@ function repeatUntil(checkFunction) { ...@@ -119,7 +119,7 @@ function repeatUntil(checkFunction) {
}); });
}; };
return step(); return step();
}; }
/** /**
* Adds the givin entries to the target volume(s). * Adds the givin entries to the target volume(s).
...@@ -147,7 +147,7 @@ function addEntries(volumeNames, entries, opt_callback) { ...@@ -147,7 +147,7 @@ function addEntries(volumeNames, entries, opt_callback) {
opt_callback.bind(null, false)); opt_callback.bind(null, false));
} }
return resultPromise; return resultPromise;
}; }
/** /**
* @enum {string} * @enum {string}
...@@ -209,7 +209,7 @@ function TestEntryInfo(type, ...@@ -209,7 +209,7 @@ function TestEntryInfo(type,
this.sizeText = sizeText; this.sizeText = sizeText;
this.typeText = typeText; this.typeText = typeText;
Object.freeze(this); Object.freeze(this);
}; }
TestEntryInfo.getExpectedRows = function(entries) { TestEntryInfo.getExpectedRows = function(entries) {
return entries.map(function(entry) { return entry.getExpectedRow(); }); return entries.map(function(entry) { return entry.getExpectedRow(); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment