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

Unified Diff: chrome/test/data/extensions/platform_apps/launch_file_by_extension_and_type/test.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/platform_apps/launch_file_by_extension_and_type/test.js
diff --git a/chrome/test/data/extensions/platform_apps/launch_file_by_extension_and_type/test.js b/chrome/test/data/extensions/platform_apps/launch_file_by_extension_and_type/test.js
index 7538174e11460ff222ce820c2b85af643d874f9b..115fff8f170a3de546d791a0e844904411e1239a 100644
--- a/chrome/test/data/extensions/platform_apps/launch_file_by_extension_and_type/test.js
+++ b/chrome/test/data/extensions/platform_apps/launch_file_by_extension_and_type/test.js
@@ -11,7 +11,7 @@ chrome.app.runtime.onLaunched.addListener(function (launchData) {
"launchData.id incorrect");
chrome.test.assertEq(launchData.items.length, 1);
chrome.test.assertTrue(
- chrome.fileSystem.getEntryId(launchData.items[0].entry) != null);
+ chrome.fileSystem.retainEntry(launchData.items[0].entry) != null);
launchData.items[0].entry.file(function(file) {
var reader = new FileReader();

Powered by Google App Engine
This is Rietveld 408576698