OLD | NEW |
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 Loading... |
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 Loading... |
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); |
OLD | NEW |