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

Unified Diff: chrome/browser/extensions/api/app_runtime/app_runtime_api.cc

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/browser/extensions/api/app_runtime/app_runtime_api.cc
diff --git a/chrome/browser/extensions/api/app_runtime/app_runtime_api.cc b/chrome/browser/extensions/api/app_runtime/app_runtime_api.cc
index 2961e43234090a82c9d9e152da5765130da5b539..614dfe1e4de7d7bacbe1d403b98fff0e06cc8fee 100644
--- a/chrome/browser/extensions/api/app_runtime/app_runtime_api.cc
+++ b/chrome/browser/extensions/api/app_runtime/app_runtime_api.cc
@@ -87,6 +87,13 @@ void AppEventRouter::DispatchOnLaunchedEventWithWebIntent(
// client code.
args->Append(intent_data);
break;
+ case webkit_glue::WebIntentData::FILESYSTEM:
+ intent_data = new DictionaryValue();
+ intent_data->SetString("format", "filesystem");
+ intent_data->SetString("fileSystemId", web_intent_data.filesystem_id);
+ intent_data->SetString("baseName", web_intent_data.root_name);
+ args->Append(intent_data);
+ break;
default:
NOTREACHED();
break;
« no previous file with comments | « no previous file | chrome/browser/extensions/platform_app_launcher.cc » ('j') | chrome/browser/media_gallery/media_storage_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698