| // Copyright 2012 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef COMPONENTS_WEBAPPS_RENDERER_WEB_PAGE_METADATA_EXTRACTION_H_ |
| #define COMPONENTS_WEBAPPS_RENDERER_WEB_PAGE_METADATA_EXTRACTION_H_ |
| #include "components/webapps/common/web_page_metadata.mojom-forward.h" |
| // Extracts any metadata information out of the document in the |frame|. Note, |
| // this function always returns a non-null object even if no metadata was found |
| mojom::WebPageMetadataPtr ExtractWebPageMetadata(blink::WebLocalFrame* frame); |
| #endif // COMPONENTS_WEBAPPS_RENDERER_WEB_PAGE_METADATA_EXTRACTION_H_ |