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

Unified Diff: content/child/request_info.h

Issue 2114213002: Fix loading placeholders for Lo-Fi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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 | « content/child/request_extra_data.cc ('k') | content/child/request_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/request_info.h
diff --git a/content/child/request_info.h b/content/child/request_info.h
index 8b64807dbd84d83f8f56bc5072a2d5e29cbd1f79..f7d7339fed061d24919efc24feaa5b314ca0de7f 100644
--- a/content/child/request_info.h
+++ b/content/child/request_info.h
@@ -12,6 +12,7 @@
#include "base/macros.h"
#include "content/common/content_export.h"
+#include "content/common/navigation_params.h"
#include "content/common/service_worker/service_worker_types.h"
#include "content/public/common/referrer.h"
#include "content/public/common/request_context_frame_type.h"
@@ -128,6 +129,10 @@ struct CONTENT_EXPORT RequestInfo {
// the ResourceBody that has already been fetched by the browser process.
GURL resource_body_stream_url;
+ // Whether or not to request a LoFi version of the document or let the browser
+ // decide.
+ LoFiState lofi_state;
+
private:
DISALLOW_COPY_AND_ASSIGN(RequestInfo);
};
« no previous file with comments | « content/child/request_extra_data.cc ('k') | content/child/request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698