| Index: content/public/common/previews_state.h
|
| diff --git a/content/public/common/previews_state.h b/content/public/common/previews_state.h
|
| index 07ac08bc5f8b8aeff7cc9913a806403bde264a84..74e4f39ba4d6aa64e969c20345b42c49b69385ad 100644
|
| --- a/content/public/common/previews_state.h
|
| +++ b/content/public/common/previews_state.h
|
| @@ -27,19 +27,22 @@ typedef int PreviewsState;
|
| // content of web pages to improve data savings and / or performance. This enum
|
| // determines which Previews types to request.
|
| enum PreviewsTypes {
|
| - PREVIEWS_UNSPECIFIED = 0, // Let the browser process decide whether or
|
| - // not to request Preview types.
|
| - SERVER_LOFI_ON = 1 << 0, // Request a Lo-Fi version of the resource
|
| - // from the server.
|
| - CLIENT_LOFI_ON = 1 << 1, // Request a Lo-Fi version of the resource
|
| - // from the client.
|
| - SERVER_LITE_PAGE_ON = 1 << 2, // Request a Lite Page version of the
|
| - // resource from the server.
|
| - PREVIEWS_NO_TRANSFORM = 1 << 3, // Explicitly forbid Previews
|
| - // transformations.
|
| - PREVIEWS_OFF = 1 << 4, // Request a normal (non-Preview) version of
|
| - // the resource. Server transformations may
|
| - // still happen if the page is heavy.
|
| + PREVIEWS_UNSPECIFIED = 0, // Let the browser process decide whether or
|
| + // not to request Preview types.
|
| + SERVER_LOFI_ON = 1 << 0, // Request a Lo-Fi version of the resource
|
| + // from the server.
|
| + CLIENT_LOFI_ON = 1 << 1, // Request a Lo-Fi version of the resource
|
| + // from the client.
|
| + CLIENT_LOFI_AUTO_RELOAD = 1 << 2, // Request the original version of the
|
| + // resource after a decoding error occurred
|
| + // when attempting to use Client Lo-Fi.
|
| + SERVER_LITE_PAGE_ON = 1 << 3, // Request a Lite Page version of the
|
| + // resource from the server.
|
| + PREVIEWS_NO_TRANSFORM = 1 << 4, // Explicitly forbid Previews
|
| + // transformations.
|
| + PREVIEWS_OFF = 1 << 5, // Request a normal (non-Preview) version of
|
| + // the resource. Server transformations may
|
| + // still happen if the page is heavy.
|
| PREVIEWS_STATE_LAST = PREVIEWS_OFF
|
| };
|
|
|
| @@ -51,6 +54,8 @@ STATIC_ASSERT_PREVIEWS_ENUM(SERVER_LOFI_ON,
|
| blink::WebURLRequest::kServerLoFiOn);
|
| STATIC_ASSERT_PREVIEWS_ENUM(CLIENT_LOFI_ON,
|
| blink::WebURLRequest::kClientLoFiOn);
|
| +STATIC_ASSERT_PREVIEWS_ENUM(CLIENT_LOFI_AUTO_RELOAD,
|
| + blink::WebURLRequest::kClientLoFiAutoReload);
|
| STATIC_ASSERT_PREVIEWS_ENUM(SERVER_LITE_PAGE_ON,
|
| blink::WebURLRequest::kServerLitePageOn);
|
| STATIC_ASSERT_PREVIEWS_ENUM(PREVIEWS_NO_TRANSFORM,
|
|
|