| Index: third_party/WebKit/Source/platform/text/TextEncodingDetector.h
|
| diff --git a/third_party/WebKit/Source/platform/text/TextEncodingDetector.h b/third_party/WebKit/Source/platform/text/TextEncodingDetector.h
|
| index 65dce2bb6aa9ad0831c74287cb18410a6b6eb41f..0ba0645d4f8e72b6d5ce255bf91140b1964cbf4c 100644
|
| --- a/third_party/WebKit/Source/platform/text/TextEncodingDetector.h
|
| +++ b/third_party/WebKit/Source/platform/text/TextEncodingDetector.h
|
| @@ -44,9 +44,14 @@ namespace blink {
|
| // hintEncodingName, detect the most likely character encoding.
|
| // The way hintEncodingName is used is up to an implementation.
|
| // Currently, the only caller sets it to the parent frame encoding.
|
| +// |hintUrl| is optional. You can pass nullptr.
|
| +// |hintUserLanguage| is an optional language code like "fr", and can be
|
| +// |nullptr.
|
| PLATFORM_EXPORT bool detectTextEncoding(const char* data,
|
| size_t length,
|
| const char* hintEncodingName,
|
| + const char* hintUrl,
|
| + const char* hintUserLanguage,
|
| WTF::TextEncoding* detectedEncoding);
|
|
|
| } // namespace blink
|
|
|