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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module arc; 5 module arc;
6 6
7 // Handles intents from ARC in Chrome. 7 // Handles intents from ARC in Chrome.
8 interface IntentHelperHost { 8 interface IntentHelperHost {
9 // Opens the url with Chrome for Chrome OS. 9 // Opens the url with Chrome for Chrome OS.
10 OnOpenUrl@0(string url); 10 OnOpenUrl@0(string url);
11 }; 11 };
12 12
13 // Sends intents to ARC on behalf of Chrome. 13 // Sends intents to ARC on behalf of Chrome.
14 interface IntentHelperInstance { 14 interface IntentHelperInstance {
15 // Establishes full-duplex communication with the host. 15 // Establishes full-duplex communication with the host.
16 Init@0(IntentHelperHost host_ptr); 16 Init@0(IntentHelperHost host_ptr);
17 17
18 // TODO(yusukes): Merge settings.mojom into intent_helper.mojom. 18 // Send an Android broadcast message to the Android package and class
19 // specified. Data can be sent as extras by including a JSON map string which
20 // will be automatically converted to a bundle accessible by the receiver.
21 //
22 // Note: Broadcasts can only be sent to whitelisted packages. Packages can be
23 // added to the whitelist in ArcBridgeService.java in the Android source.
24 [MinVersion=1] SendBroadcast@1(string action,
25 string package,
26 string cls,
27 string extras);
19 }; 28 };
OLDNEW
« 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