rss_link_reader.mojom 539 B

12345678910111213141516171819
  1. // Copyright 2021 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. module feed.mojom;
  5. import "url/mojom/url.mojom";
  6. struct RssLinks {
  7. // URL of the page.
  8. url.mojom.Url page_url;
  9. // List of RSS URLs within the page's <head>.
  10. array<url.mojom.Url> links;
  11. };
  12. // One instance per main frame on the renderer.
  13. interface RssLinkReader {
  14. // Scans the document for RSS links, and returns them.
  15. GetRssLinks() => (RssLinks rss_links);
  16. };