Chromium Code Reviews| 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 | |
| 7 chrome.test.runTests([ | |
| 8 function getGalleries() { | |
| 9 mediaGalleries.getMediaGalleries( | |
| 10 chrome.test.callbackPass(function(results) { | |
| 11 chrome.test.assertEq(results, []); | |
|
jstritar
2012/03/21 00:02:02
nit: for each of these, I think the body of callba
vandebo (ex-Chrome)
2012/03/21 16:17:57
Hmm, that looks a bit strange to me... instead I p
| |
| 12 })); | |
| 13 }, | |
| 14 | |
| 15 function assembleMediaFile() { | |
| 16 mediaGalleries.assembleMediaFile( | |
| 17 {}, | |
| 18 {}, | |
| 19 chrome.test.callbackPass(function(result) { | |
| 20 chrome.test.assertEq(result, null); | |
| 21 })); | |
| 22 }, | |
| 23 | |
| 24 function parseMediaFileMetadata() { | |
| 25 mediaGalleries.parseMediaFileMetadata( | |
| 26 {}, | |
| 27 chrome.test.callbackPass(function(result) { | |
| 28 chrome.test.assertEq(result, null); | |
| 29 })); | |
| 30 }, | |
| 31 ]); | |
| OLD | NEW |