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

Unified Diff: third_party/WebKit/public/platform/modules/installedapp/related_application.mojom

Issue 2671683002: getInstalledRelatedApps: Add browser-side Mojo service (stub). (Closed)
Patch Set: Respond to comments + increase test coverage. Created 3 years, 9 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: third_party/WebKit/public/platform/modules/installedapp/related_application.mojom
diff --git a/third_party/WebKit/public/platform/modules/installedapp/related_application.mojom b/third_party/WebKit/public/platform/modules/installedapp/related_application.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..4f5f2f96e604e27777829f7c7270a5235a7c74bd
--- /dev/null
+++ b/third_party/WebKit/public/platform/modules/installedapp/related_application.mojom
@@ -0,0 +1,13 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module blink.mojom;
+
+// Represents a system application related to a particular web app.
+// See: https://www.w3.org/TR/appmanifest/#related_applications-member
dcheng 2017/03/13 07:15:08 https://www.w3.org/TR/appmanifest/#dfn-application
Matt Giuca 2017/03/14 06:38:11 Better! Thanks.
+struct RelatedApplication {
+ string platform;
+ string? url;
dcheng 2017/03/13 06:16:51 Nit: please make this a mojo.common.mojom.Url.
Matt Giuca 2017/03/14 06:38:11 OK, you're right, this should be a Url. But this i
dcheng 2017/03/14 06:41:53 Please add a TODO
Matt Giuca 2017/03/14 06:53:57 Done.
+ string? id;
+};

Powered by Google App Engine
This is Rietveld 408576698