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 module blink.mojom; | 5 module blink.mojom; |
6 | 6 |
7 import "url/mojo/url.mojom"; | 7 import "url/mojo/url.mojom"; |
8 | 8 |
9 // Due to the restriction of AppIndexing, all elements should be of the | 9 // Due to the restriction of AppIndexing, all elements should be of the |
10 // same type. Non-array values are converted to arrays of one element. | 10 // same type. Non-array values are converted to arrays of one element. |
(...skipping 16 matching lines...) Expand all Loading... |
27 struct Entity { | 27 struct Entity { |
28 string type; // Correspond to the "@type" key, defined in JSON-LD. | 28 string type; // Correspond to the "@type" key, defined in JSON-LD. |
29 array<Property> properties; | 29 array<Property> properties; |
30 }; | 30 }; |
31 | 31 |
32 struct WebPage { | 32 struct WebPage { |
33 url.mojom.Url url; | 33 url.mojom.Url url; |
34 string title; | 34 string title; |
35 array<Entity> entities; | 35 array<Entity> entities; |
36 }; | 36 }; |
OLD | NEW |