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

Unified Diff: components/arc/common/intent_helper.mojom

Issue 1610813003: Merge arc/common/settings.mojom into intent_helper.mojom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 11 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
« no previous file with comments | « components/arc/arc_bridge_service.cc ('k') | components/arc/common/settings.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/intent_helper.mojom
diff --git a/components/arc/common/intent_helper.mojom b/components/arc/common/intent_helper.mojom
index 3984b98b97237679008f9c266982a26862f9a701..5910b41558323d3e9a2d6b544b0f958c1d5747dc 100644
--- a/components/arc/common/intent_helper.mojom
+++ b/components/arc/common/intent_helper.mojom
@@ -15,5 +15,14 @@ interface IntentHelperInstance {
// Establishes full-duplex communication with the host.
Init@0(IntentHelperHost host_ptr);
- // TODO(yusukes): Merge settings.mojom into intent_helper.mojom.
+ // Send an Android broadcast message to the Android package and class
+ // specified. Data can be sent as extras by including a JSON map string which
+ // will be automatically converted to a bundle accessible by the receiver.
+ //
+ // Note: Broadcasts can only be sent to whitelisted packages. Packages can be
+ // added to the whitelist in ArcBridgeService.java in the Android source.
+ [MinVersion=1] SendBroadcast@1(string action,
+ string package,
+ string cls,
+ string extras);
};
« no previous file with comments | « components/arc/arc_bridge_service.cc ('k') | components/arc/common/settings.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698