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

Unified Diff: chrome/test/data/extensions/platform_apps/launch_application_octet_stream/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_application_octet_stream/test.js
diff --git a/chrome/test/data/extensions/platform_apps/launch_application_octet_stream/test.js b/chrome/test/data/extensions/platform_apps/launch_application_octet_stream/test.js
index 079f79c8b672a2e64e4a4a9b31fce47e3d66fa3a..6be819fc8d929806144daaea20a164a2bc27c55a 100644
--- a/chrome/test/data/extensions/platform_apps/launch_application_octet_stream/test.js
+++ b/chrome/test/data/extensions/platform_apps/launch_application_octet_stream/test.js
@@ -13,7 +13,7 @@ chrome.app.runtime.onLaunched.addListener(function (launchData) {
chrome.test.assertEq(launchData.items[0].type,
"application/octet-stream");
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