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

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

Issue 2793103002: Parse JSON in Blink for CopylessPaste. (Closed)
Patch Set: address dcheng comments Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b31684c487f71fd1d3a28b37d8e54a3661f2fc1d..5cb94fed5c0512b071c671daba60509e76a6424b 100644
--- a/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractor.h
+++ b/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractor.h
@@ -6,7 +6,7 @@
#define CopylessPasteExtractor_h
#include "modules/ModulesExport.h"
-#include "wtf/text/WTFString.h"
+#include "public/platform/modules/document_metadata/copyless_paste.mojom-blink.h"
namespace blink {
@@ -17,7 +17,7 @@ class Document;
// has finished parsing.
class MODULES_EXPORT CopylessPasteExtractor final {
public:
- static String Extract(Document&);
+ static mojom::document_metadata::blink::WebPagePtr extract(const Document&);
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698