| Index: components/arc/common/intent_helper.mojom
|
| diff --git a/components/arc/common/intent_helper.mojom b/components/arc/common/intent_helper.mojom
|
| index c8d2944d2197e36ffc50200a825c69dd4cd3a469..b8fb48aedae8250210fc83f4e4aacf66ca110aa7 100644
|
| --- a/components/arc/common/intent_helper.mojom
|
| +++ b/components/arc/common/intent_helper.mojom
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| //
|
| -// Next MinVersion: 9
|
| +// Next MinVersion: 10
|
|
|
| module arc.mojom;
|
|
|
| @@ -15,6 +15,12 @@ enum ActionType {
|
| SEND_MULTIPLE,
|
| };
|
|
|
| +struct IntentFilter {
|
| + array<string> actions;
|
| + array<string> categories;
|
| + array<string> data_schemes;
|
| +};
|
| +
|
| // Describes a package that can handle a URL.
|
| struct UrlHandlerInfo {
|
| string name;
|
| @@ -45,11 +51,15 @@ struct UrlWithMimeType {
|
| };
|
|
|
| // Handles intents from ARC in Chrome.
|
| -// Next method ID: 5
|
| +// Next method ID: 6
|
| interface IntentHelperHost {
|
| // Called when icons associated with the package are no longer up to date.
|
| [MinVersion=3] OnIconInvalidated@1(string package_name);
|
|
|
| + // Called when intent filters are updated. Either on startup or when
|
| + // apps are installed or uninstalled.
|
| + [MinVersion=9] OnIntentFiltersUpdated@5(array<IntentFilter> intent_filters);
|
| +
|
| // Opens the downloads directory in the Chrome OS file manager.
|
| [MinVersion=5] OnOpenDownloads@2();
|
|
|
|
|