| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [JavaPackage="org.chromium.installedapp.mojom"] | |
| 6 module blink.mojom; | 5 module blink.mojom; |
| 7 | 6 |
| 8 // Represents a system application related to a particular web app. | 7 // Represents a system application related to a particular web app. |
| 9 // See: https://www.w3.org/TR/appmanifest/#dfn-application-object | 8 // See: https://www.w3.org/TR/appmanifest/#dfn-application-object |
| 10 struct RelatedApplication { | 9 struct RelatedApplication { |
| 11 string platform; | 10 string platform; |
| 12 // TODO(mgiuca): Change to url.mojom.Url (requires changing | 11 // TODO(mgiuca): Change to url.mojom.Url (requires changing |
| 13 // WebRelatedApplication as well). | 12 // WebRelatedApplication as well). |
| 14 string? url; | 13 string? url; |
| 15 string? id; | 14 string? id; |
| 16 }; | 15 }; |
| OLD | NEW |