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

Unified Diff: third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractor.h

Issue 2777623002: Move json-ld parsing to Blink.
Patch Set: update policy enforcement in blink, clank handling of repeated values 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/Source/modules/document_metadata/CopylessPasteExtractor.h
diff --git a/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractor.h b/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractor.h
index c91e8f2541ae815cf53da2c60a6980f5f9f1a193..8b570a1bfe58f4b316e5f16795cd12f05edbf11a 100644
--- a/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractor.h
+++ b/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractor.h
@@ -12,12 +12,14 @@ namespace blink {
class Document;
+struct WebPage;
+
// Extract structured metadata (currently schema.org in JSON-LD) for the
// Copyless Paste feature. The extraction must be done after the document
// has finished parsing.
class MODULES_EXPORT CopylessPasteExtractor final {
public:
- static String extract(Document&);
+ static bool extract(const Document&, WebPage*);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698