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

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

Issue 10869067: Deliver attach intent to packaged apps (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: comment Created 8 years, 4 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/app_runtime_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/app_runtime_custom_bindings.js b/chrome/renderer/resources/extensions/app_runtime_custom_bindings.js
index 77da14918a4abcd929ad60cb8d410bbfbf8f99f5..9374a5b65da36a1ed8d4590a0a41350116952efa 100644
--- a/chrome/renderer/resources/extensions/app_runtime_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/app_runtime_custom_bindings.js
@@ -35,6 +35,13 @@ chromeHidden.Event.registerArgumentMassager('app.runtime.onLaunched',
dispatch([]);
}
break;
+ case('filesystem'):
+ launchData.intent.data = GetIsolatedFileSystem(intentData.fileSystemId,
+ intentData.baseName);
+ launchData.intent.postResult = function() {};
+ launchData.intent.postFailure = function() {};
+ dispatch([launchData]);
+ break;
case('serialized'):
var deserializedData = DeserializeString(intentData.data);
launchData.intent.data = deserializedData;

Powered by Google App Engine
This is Rietveld 408576698