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

Unified Diff: chrome/renderer/resources/extensions/file_system_custom_bindings.js

Issue 12391006: Give an app the file entries it had back on restart. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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/renderer/resources/extensions/file_system_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/file_system_custom_bindings.js b/chrome/renderer/resources/extensions/file_system_custom_bindings.js
index 123eabe782e3559ee00beb4dfd8e6a32b7a424e4..acf163ad86e76eeed3df6d1f92766afc71b19067 100644
--- a/chrome/renderer/resources/extensions/file_system_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/file_system_custom_bindings.js
@@ -36,8 +36,7 @@ binding.registerCustomHook(function(bindingsAPI) {
var fileSystemId = response.fileSystemId;
var baseName = response.baseName;
- // TODO(koz): Generate a persistent id in the browser and use it here.
- var id = fileSystemId + ":" + baseName;
+ var id = response.id;
var fs = GetIsolatedFileSystem(fileSystemId);
try {

Powered by Google App Engine
This is Rietveld 408576698