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) {
return testPromiseAndApps(
promise,
[remoteCall, galleryApp, audioPlayerApp, videoPlayerApp]);
};
}
/**
* Executes a sequence of test steps.
......
......@@ -32,7 +32,7 @@ function waitAndAcceptDialog(windowId) {
*/
function getTreeItems(windowId) {
return remoteCall.callRemoteTestUtil('getTreeItems', windowId, []);
};
}
/**
* Waits until the directory item appears.
......@@ -112,7 +112,7 @@ function keyboardCopy(path, callback) {
checkIfNoErrorsOccured(this.next);
}
]);
};
}
/**
* Tests deleting a file and and waits until the file lists changes.
......@@ -328,7 +328,7 @@ function testRenameFile(path, initialEntrySet) {
expectedEntryRows,
{ignoreLastModifiedTime: true});
});
};
}
testcase.keyboardCopyDownloads = function() {
keyboardCopy(RootPath.DOWNLOADS);
......
......@@ -29,7 +29,7 @@ function openQuickViewSteps(appId, filename) {
if (results.length === 0 ||
results[0].styles.display === 'none') {
return pending('Quick View is not opened yet.');
};
}
return results;
});
}).then(this.next);
......@@ -61,7 +61,7 @@ function closeQuickViewSteps(appId) {
.then(function(results) {
if (results.length > 0 && results[0].styles.display !== 'none') {
return pending('Quick View is not closed yet.');
};
}
return;
});
}).then(this.next);
......
......@@ -101,7 +101,7 @@ function share(path) {
checkIfNoErrorsOccured(this.next);
}
]);
};
}
/**
* Tests sharing a file on Drive
......
......@@ -54,7 +54,7 @@ function testPromiseAndApps(promise, apps) {
}), function(error) {
chrome.test.fail(error.stack || error);
});
};
}
/**
* Interval milliseconds between checks of repeatUntil.
......@@ -93,7 +93,7 @@ function pending(message, var_args) {
var pendingMarker = Object.create(pending.prototype);
pendingMarker.message = formattedMessage;
return pendingMarker;
};
}
/**
* Waits until the checkFunction returns a value but a pending marker.
......@@ -119,7 +119,7 @@ function repeatUntil(checkFunction) {
});
};
return step();
};
}
/**
* Adds the givin entries to the target volume(s).
......@@ -147,7 +147,7 @@ function addEntries(volumeNames, entries, opt_callback) {
opt_callback.bind(null, false));
}
return resultPromise;
};
}
/**
* @enum {string}
......@@ -209,7 +209,7 @@ function TestEntryInfo(type,
this.sizeText = sizeText;
this.typeText = typeText;
Object.freeze(this);
};
}
TestEntryInfo.getExpectedRows = function(entries) {
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