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

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

Issue 62713003: Move ExtensionProcessManager to src/extensions, part 4 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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.mediaGalleries;
6 var expectedGalleryEntryLength = 306; // hard-coded size of ../common/test.jpg 6 var expectedGalleryEntryLength = 306; // hard-coded size of ../common/test.jpg
7 7
8 // Get's entire listing from directory, then verifies the sorted contents. 8 // Get's entire listing from directory, then verifies the sorted contents.
9 function verifyDirectoryEntry(directoryEntry, verifyFunction) { 9 function verifyDirectoryEntry(directoryEntry, verifyFunction) {
10 var allEntries = []; 10 var allEntries = [];
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 getTest(GalleryPropertiesTest), 209 getTest(GalleryPropertiesTest),
210 getTest(RootListingTest), 210 getTest(RootListingTest),
211 getTest(AlbumsListingTest), 211 getTest(AlbumsListingTest),
212 getTest(FoldersListingTest), 212 getTest(FoldersListingTest),
213 getTest(Album1ListingTest), 213 getTest(Album1ListingTest),
214 getTest(Album2ListingTest), 214 getTest(Album2ListingTest),
215 getTest(Folder1ListingTest), 215 getTest(Folder1ListingTest),
216 getTest(Folder2ListingTest), 216 getTest(Folder2ListingTest),
217 ]); 217 ]);
218 218
219 // Create a dummy window to prevent the ExtensionProcessManager from suspending 219 // Create a dummy window to prevent the ProcessManager from suspending the
220 // the chrome-test app. Needed because the FileReader events do not qualify as 220 // chrome-test app. Needed because the FileReader events do not qualify as
221 // pending callbacks, so the app looks dormant. 221 // pending callbacks, so the app looks dormant.
222 chrome.app.runtime.onLaunched.addListener(function() { 222 chrome.app.runtime.onLaunched.addListener(function() {
223 chrome.app.window.create('dummy.html', { 223 chrome.app.window.create('dummy.html', {
224 bounds: { 224 bounds: {
225 width: 800, 225 width: 800,
226 height: 600, 226 height: 600,
227 left: 100, 227 left: 100,
228 top: 100 228 top: 100
229 }, 229 },
230 minWidth: 800, 230 minWidth: 800,
231 minHeight: 600 231 minHeight: 600
232 }); 232 });
233 }); 233 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698