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

Side by Side Diff: chrome/test/data/extensions/api_test/file_system_provider/notify/test.js

Issue 1150173003: Fix some JS style nits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 'use strict'; 5 'use strict';
6 6
7 /** 7 /**
8 * @type {Object} 8 * @type {Object}
9 * @const 9 * @const
10 */ 10 */
(...skipping 12 matching lines...) Expand all
23 23
24 /** 24 /**
25 * @type {string} 25 * @type {string}
26 * @const 26 * @const
27 */ 27 */
28 var TESTING_ANOTHER_TAG = "hello-giraffe"; 28 var TESTING_ANOTHER_TAG = "hello-giraffe";
29 29
30 /** 30 /**
31 * List of directory changed events received from the chrome.fileManagerPrivate 31 * List of directory changed events received from the chrome.fileManagerPrivate
32 * API. 32 * API.
33 * @type {Array.<Object>} 33 * @type {Array<Object>}
34 */ 34 */
35 var directoryChangedEvents = []; 35 var directoryChangedEvents = [];
36 36
37 /** 37 /**
38 * Callback to be called when a directory changed event arrives. 38 * Callback to be called when a directory changed event arrives.
39 * @type {function()|null} 39 * @type {function()|null}
40 */ 40 */
41 var directoryChangedCallback = null; 41 var directoryChangedCallback = null;
42 42
43 /** 43 /**
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 tag: TESTING_ANOTHER_TAG 239 tag: TESTING_ANOTHER_TAG
240 }, chrome.test.callbackFail('NOT_FOUND')); 240 }, chrome.test.callbackFail('NOT_FOUND'));
241 })).catch(chrome.test.fail); 241 })).catch(chrome.test.fail);
242 })); 242 }));
243 } 243 }
244 ]); 244 ]);
245 } 245 }
246 246
247 // Setup and run all of the test cases. 247 // Setup and run all of the test cases.
248 setUp(runTests); 248 setUp(runTests);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698