OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 var mediaGalleries = chrome.mediaGalleries; | 5 var mediaGalleries = chrome.experimental.mediaGalleries; |
| 6 |
6 var mediaFileSystemsListCallback = function(results) { | 7 var mediaFileSystemsListCallback = function(results) { |
7 chrome.test.assertEq(0, results.length); | 8 chrome.test.assertEq(0, results.length); |
8 }; | 9 }; |
9 | 10 |
10 chrome.test.runTests([ | 11 chrome.test.runTests([ |
11 function getGalleries() { | 12 function getGalleries() { |
12 mediaGalleries.getMediaFileSystems( | 13 mediaGalleries.getMediaFileSystems( |
13 chrome.test.callbackPass(mediaFileSystemsListCallback)); | 14 chrome.test.callbackPass(mediaFileSystemsListCallback)); |
14 }, | 15 }, |
15 ]); | 16 ]); |
OLD | NEW |