OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // OBSOLETE INTERFACE. DO NOT USE/MODIFY. |
| 6 |
5 module arc; | 7 module arc; |
6 | 8 |
7 interface SettingsInstance { | 9 interface SettingsInstance { |
8 // Send an Android broadcast message to the Android package and class | 10 // Send an Android broadcast message to the Android package and class |
9 // specified. Data can be sent as extras by including a JSON map string which | 11 // specified. Data can be sent as extras by including a JSON map string which |
10 // will be automatically converted to a bundle accessible by the receiver. | 12 // will be automatically converted to a bundle accessible by the receiver. |
11 // | 13 // |
12 // Note: Broadcasts can only be sent to whitelisted packages. Packages can be | 14 // Note: Broadcasts can only be sent to whitelisted packages. Packages can be |
13 // added to the whitelist in ArcBridgeService.java in the Android source. | 15 // added to the whitelist in ArcBridgeService.java in the Android source. |
14 SendBroadcast(string action, | 16 SendBroadcast(string action, |
15 string package, | 17 string package, |
16 string cls, | 18 string cls, |
17 string extras); | 19 string extras); |
18 }; | 20 }; |
19 | 21 |
OLD | NEW |