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..4329ad94e5e10270d39f67463810cb4a11f79f0f 100644 |
| --- a/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractor.h |
| +++ b/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractor.h |
| @@ -2,11 +2,11 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CopylessPasteExtractor_h |
| -#define CopylessPasteExtractor_h |
| +#ifndef THIRD_PARTY_WEBKIT_SOURCE_MODULES_DOCUMENT_METADATA_COPYLESSPASTEEXTRACTOR_H_ |
|
wychen
2017/04/04 18:40:19
Looks like CopylessPasteExtractor_h is more consis
dproctor
2017/04/04 20:44:05
Done, though git cl lint gives me a warning that i
wychen
2017/04/04 23:15:32
My guess is that not all git cl lint suggestions a
dproctor
2017/04/04 23:42:22
Acknowledged, thanks.
|
| +#define THIRD_PARTY_WEBKIT_SOURCE_MODULES_DOCUMENT_METADATA_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,9 +17,9 @@ class Document; |
| // has finished parsing. |
| class MODULES_EXPORT CopylessPasteExtractor final { |
| public: |
| - static String extract(Document&); |
| + static bool extract(const Document&, mojom::blink::WebPage&); |
| }; |
| } // namespace blink |
| -#endif // CopylessPasteExtractor_h |
| +#endif // THIRD_PARTY_WEBKIT_SOURCE_MODULES_DOCUMENT_METADATA_COPYLESSPASTEEXTRACTOR_H_ |