Index: components/arc/common/app.mojom |
diff --git a/components/arc/common/app.mojom b/components/arc/common/app.mojom |
index 6348d52517e4851ebe484d466b77707bf5585eb3..a343a23e9605dda53a7a29a0566eb637ddd4eb0d 100644 |
--- a/components/arc/common/app.mojom |
+++ b/components/arc/common/app.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: 20 |
+// Next MinVersion: 21 |
module arc.mojom; |
@@ -75,7 +75,20 @@ enum ShowPackageInfoPage { |
MANAGE_LINKS = 1, |
}; |
-// Next method ID: 18 |
+// Describes a Play Store app discovery result. |
+struct AppDiscoveryResult { |
+ string? launch_intent_uri; |
+ string? install_intent_uri; |
+ string? label; |
+ bool is_instant_app; |
+ bool is_recent; |
+ string? publisher_name; |
+ string? formatted_price; |
+ float review_score; |
+ array<uint8> icon_png_data; |
+}; |
+ |
+// Next method ID: 19 |
xiyuan
2017/06/23 19:57:39
Seems updated the wrong one... should update the o
Jiaquan He
2017/06/23 21:10:32
Done.
|
interface AppHost { |
// Sends newly added ARC app to Chrome. This message is sent when ARC receives |
// package added notification. Multiple apps may be added in the one package. |
@@ -233,4 +246,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=20] GetRecentAndSuggestedAppsFromPlayStore@16( |
+ string query, int32 max_results) => |
+ (array<AppDiscoveryResult> results); |
}; |