| Index: chrome/common/extensions/api/app_runtime.idl
|
| diff --git a/chrome/common/extensions/api/app_runtime.idl b/chrome/common/extensions/api/app_runtime.idl
|
| index 53ed2fed2fbb41e7034a229726b06c473fb2f26a..c2d54c4353ba52f0151b4440f62bf7ab69dd19ff 100644
|
| --- a/chrome/common/extensions/api/app_runtime.idl
|
| +++ b/chrome/common/extensions/api/app_runtime.idl
|
| @@ -33,4 +33,21 @@ namespace app.runtime {
|
| static void onLaunched(optional LaunchData launchData);
|
| };
|
|
|
| + dictionary IntentResponse {
|
| + // Identifies the intent.
|
| + long intentId;
|
| +
|
| + // Was this intent successful? (i.e., postSuccess vs postFailure).
|
| + boolean success;
|
| +
|
| + // Data associated with the intent response.
|
| + any data;
|
| + };
|
| +
|
| + interface Functions {
|
| + // postIntentResponse is an internal method to responds to an intent
|
| + // previously sent to a packaged app. This is identified by intentId, and
|
| + // should only be invoked at most once per intentId.
|
| + [nodoc] static void postIntentResponse(IntentResponse intentResponse);
|
| + };
|
| };
|
|
|