Fix decoding of about:credits HTML (issue #1980)

This commit is contained in:
Marshall Greenblatt
2016-09-01 13:32:56 +03:00
parent 1e84e0cfff
commit ad1619dbd7
4 changed files with 40 additions and 3 deletions

View File

@ -28,8 +28,13 @@ class InternalHandlerDelegate {
CefRefPtr<CefStreamReader> stream;
int stream_size;
// Option 2: Specify a resource id to load static content.
// Option 2: Specify a resource id to load static content. May include an
// optional encoding type.
int resource_id;
enum Encoding {
ENCODING_NONE,
ENCODING_BROTLI,
} encoding;
// Option 3: Redirect to the specified URL.
GURL redirect_url;