Index: components/arc/common/app.mojom |
diff --git a/components/arc/common/app.mojom b/components/arc/common/app.mojom |
index 6348d52517e4851ebe484d466b77707bf5585eb3..0d06a024e80b60884999b1964d162d6d08049f20 100644 |
--- a/components/arc/common/app.mojom |
+++ b/components/arc/common/app.mojom |
@@ -75,6 +75,17 @@ enum ShowPackageInfoPage { |
MANAGE_LINKS = 1, |
}; |
+// Describes a Play Store app discovery result. |
+struct AppDiscoveryResult { |
+ string launch_intent_uri; |
Luis Héctor Chávez
2017/06/19 17:51:53
All the strings seem to be optional from the Andro
Jiaquan He
2017/06/22 04:30:04
Done.
|
+ string install_intent_uri; |
+ string label; |
+ bool is_instant_app; |
+ bool is_recent; |
+ string publisher_name; |
+ array<uint8> icon_png_data; |
+}; |
+ |
// Next method ID: 18 |
Luis Héctor Chávez
2017/06/16 22:24:35
Next method ID: 19
Jiaquan He
2017/06/22 04:30:04
Done.
|
interface AppHost { |
// Sends newly added ARC app to Chrome. This message is sent when ARC receives |
@@ -233,4 +244,9 @@ interface AppInstance { |
// Sends a request to ARC to uninstall the given package. Error (if ever |
// happens) is ignored, and uninstall option should appear in the UI. |
[MinVersion=2] UninstallPackage@5(string package_name); |
+ |
+ // Starts a query for Play Store apps. |
+ [MinVersion=18] GetRecentAndSuggestedAppsFromPlayStore@16( |
Luis Héctor Chávez
2017/06/16 22:24:35
MinVersion=20
Jiaquan He
2017/06/22 04:30:04
Done.
|
+ string query, int32 max_results) => |
+ (array<AppDiscoveryResult> results); |
}; |