OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 var mediaGalleries = chrome.experimental.mediaGalleries; |
| 6 var mediaFileSystemsListCallback = function(results) { |
| 7 chrome.test.assertEq(0, results.length); |
| 8 }; |
| 9 |
| 10 function runTests(tests) { |
| 11 chrome.test.runTests(tests); |
| 12 } |
| 13 |
| 14 chrome.test.runTests([ |
| 15 function getGalleries() { |
| 16 mediaGalleries.getMediaFileSystems( |
| 17 chrome.test.callbackPass(mediaFileSystemsListCallback)); |
| 18 }, |
| 19 ]); |
OLD | NEW |