Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(541)

Unified Diff: components/arc/common/app.mojom

Issue 2929273002: Add the Play Store app search to the launcher. (Closed)
Patch Set: Merge API and implementation. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698