Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1045)

Unified Diff: third_party/WebKit/public/platform/WebURLRequest.h

Issue 2873793002: Record Data Savings for Client-Side LoFi (Closed)
Patch Set: fix crash in DRPNetworkDelegate when lofi_ui_service is null. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/loader/fetch/Resource.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebURLRequest.h
diff --git a/third_party/WebKit/public/platform/WebURLRequest.h b/third_party/WebKit/public/platform/WebURLRequest.h
index e559ac779144204aed25eb434ca25acc0919da4f..ba9dcb8fbeaa65ce87d71bd69c3782dabc02f958 100644
--- a/third_party/WebKit/public/platform/WebURLRequest.h
+++ b/third_party/WebKit/public/platform/WebURLRequest.h
@@ -150,19 +150,22 @@ class WebURLRequest {
// The Previews types which determines whether to request a Preview version of
// the resource.
enum PreviewsTypes {
- kPreviewsUnspecified = 0, // Let the browser process decide whether or
- // not to request Preview types.
- kServerLoFiOn = 1 << 0, // Request a Lo-Fi version of the resource
- // from the server.
- kClientLoFiOn = 1 << 1, // Request a Lo-Fi version of the resource
- // from the client.
- kServerLitePageOn = 1 << 2, // Request a Lite Page version of the
- // resource from the server.
- kPreviewsNoTransform = 1 << 3, // Explicitly forbid Previews
- // transformations.
- kPreviewsOff = 1 << 4, // Request a normal (non-Preview) version of
- // the resource. Server transformations may
- // still happen if the page is heavy.
+ kPreviewsUnspecified = 0, // Let the browser process decide whether or
+ // not to request Preview types.
+ kServerLoFiOn = 1 << 0, // Request a Lo-Fi version of the resource
+ // from the server.
+ kClientLoFiOn = 1 << 1, // Request a Lo-Fi version of the resource
+ // from the client.
+ kClientLoFiAutoReload = 1 << 2, // Request the original version of the
+ // resource after a decoding error occurred
+ // when attempting to use Client Lo-Fi.
+ kServerLitePageOn = 1 << 3, // Request a Lite Page version of the
+ // resource from the server.
+ kPreviewsNoTransform = 1 << 4, // Explicitly forbid Previews
+ // transformations.
+ kPreviewsOff = 1 << 5, // Request a normal (non-Preview) version of
+ // the resource. Server transformations may
+ // still happen if the page is heavy.
kPreviewsStateLast = kPreviewsOff
};
« no previous file with comments | « third_party/WebKit/Source/platform/loader/fetch/Resource.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698