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

Side by Side Diff: chrome/test/data/extensions/api_test/media_galleries/no_galleries/test.js

Issue 10916019: Move MediaGalleries.getMediaFileSystems out of experimental. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update docs Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
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.experimental.mediaGalleries; 5 var mediaGalleries = chrome.mediaGalleries;
6 6
7 var mediaFileSystemsListCallback = function(results) { 7 var mediaFileSystemsListCallback = function(results) {
8 chrome.test.assertEq(0, results.length); 8 chrome.test.assertEq(0, results.length);
9 }; 9 };
10 10
11 chrome.test.runTests([ 11 chrome.test.runTests([
12 function getGalleries() { 12 function getGalleries() {
13 mediaGalleries.getMediaFileSystems( 13 mediaGalleries.getMediaFileSystems(
14 chrome.test.callbackPass(mediaFileSystemsListCallback)); 14 chrome.test.callbackPass(mediaFileSystemsListCallback));
15 }, 15 },
16 ]); 16 ]);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698