Chromium Code Reviews| 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..b964c3363ff1bd09c78f798b283cc95fc8ca4ff9 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 bool extract(const Document&, mojom::blink::WebPage&); |
|
wychen
2017/04/05 23:07:48
We can use nullptr to denote there's nothing to re
dproctor
2017/04/06 00:39:17
Done.
|
| }; |
| } // namespace blink |