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

Unified Diff: ui/file_manager/gallery/js/background.js

Issue 571453002: Correct indentation, JSDoc, etc... to comply with closure linter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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: ui/file_manager/gallery/js/background.js
diff --git a/ui/file_manager/gallery/js/background.js b/ui/file_manager/gallery/js/background.js
index 74133613ae15a32ce4fc19b17e2a6d5c93014a31..0b51c045592b51c8c248d0a06261567e37aaa8fb 100644
--- a/ui/file_manager/gallery/js/background.js
+++ b/ui/file_manager/gallery/js/background.js
@@ -62,13 +62,13 @@ var backgroundComponentsPromise = BackgroundComponents.load();
*/
function resolveEntries(entries) {
return new Promise(function(fulfill, reject) {
- chrome.fileManagerPrivate.resolveIsolatedEntries(entries,
- function(externalEntries) {
- if (!chrome.runtime.lastError)
- fulfill(externalEntries);
- else
- reject(chrome.runtime.lastError);
- });
+ chrome.fileManagerPrivate.resolveIsolatedEntries(
+ entries, function(externalEntries) {
+ if (!chrome.runtime.lastError)
+ fulfill(externalEntries);
+ else
+ reject(chrome.runtime.lastError);
+ });
});
}
@@ -203,6 +203,7 @@ chrome.app.runtime.onLaunched.addListener(function(launchData) {
// If is is run in the browser test, wait for the test resources are installed
// as a component extension, and then load the test resources.
if (chrome.test) {
+ /** @type {string} */
window.testExtensionId = 'ejhcmmdhhpdhhgmifplfmjobgegbibkn';
chrome.runtime.onMessageExternal.addListener(function(message) {
if (message.name !== 'testResourceLoaded')
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js ('k') | ui/file_manager/gallery/js/gallery.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698