| Index: components/arc/common/intent_helper.mojom
|
| diff --git a/components/arc/common/intent_helper.mojom b/components/arc/common/intent_helper.mojom
|
| index 14c7212e3cc00bdbd26095e82d8714312620720a..ed4f217bb620e459b4651800a4eabf80e401bf9d 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: 15
|
| +// Next MinVersion: 16
|
|
|
| module arc.mojom;
|
|
|
| @@ -108,7 +108,7 @@ interface IntentHelperHost {
|
| };
|
|
|
| // Sends intents to ARC on behalf of Chrome.
|
| -// Next method ID: 11
|
| +// Next method ID: 13
|
| interface IntentHelperInstance {
|
| // Sets the given package as a preferred package. The next time an ACTION_VIEW
|
| // intent is sent with a URL that requires disambiguation, instead of opening
|
| @@ -116,6 +116,9 @@ interface IntentHelperInstance {
|
| // When multiple packages are set as preferred, the most recent setting wins.
|
| [MinVersion=7] AddPreferredPackage@8(string package_name);
|
|
|
| + // Asks the ContentResolver for the size of the file specified by the URL.
|
| + [MinVersion=15] GetFileSize@11(string url) => (int64 size);
|
| +
|
| // Passes an intent to an activity.
|
| [MinVersion=12] HandleIntent@10(IntentInfo intent, ActivityName activity);
|
|
|
| @@ -131,6 +134,10 @@ interface IntentHelperInstance {
|
| // Establishes full-duplex communication with the host.
|
| Init@0(IntentHelperHost host_ptr);
|
|
|
| + // Asks the ContentResolver to get an FD to read the file specified by the
|
| + // URL.
|
| + [MinVersion=15] OpenFileToRead@12(string url) => (handle fd);
|
| +
|
| // Requests 48dp * 48dp icons of the |activities| suitable for the
|
| // |scale_factor|. An array of icon data will be returned.
|
| [MinVersion=3] RequestActivityIcons@4(array<ActivityName> activities,
|
|
|