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

Unified Diff: chrome/test/data/extensions/api_test/file_system/get_entry_id/test_other_window.js

Issue 14607023: Add support for persistent file access in apps. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/file_system/get_entry_id/test_other_window.js
diff --git a/chrome/test/data/extensions/api_test/file_system/get_entry_id/test_other_window.js b/chrome/test/data/extensions/api_test/file_system/get_entry_id/test_other_window.js
deleted file mode 100644
index 875a10e5810f4c1a349240de48f86f873d158b81..0000000000000000000000000000000000000000
--- a/chrome/test/data/extensions/api_test/file_system/get_entry_id/test_other_window.js
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-chrome.runtime.getBackgroundPage(
- chrome.test.callbackPass(function(backgroundPage) {
- chrome.fileSystem.chooseEntry({type: 'openFile'},
- chrome.test.callbackPass(function(entry) {
- var id = chrome.fileSystem.getEntryId(entry);
- chrome.test.assertTrue(id != null);
- var e = chrome.fileSystem.getEntryById(id);
- chrome.test.assertEq(e, entry);
- backgroundPage.callback(window, id, entry);
- }));
-}));

Powered by Google App Engine
This is Rietveld 408576698