Index: content/renderer/render_frame_impl.h |
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h |
index cdeba40c86a8054de3aef1cb5afe6164cba72bc4..dda799d70e69c9ae1ec9746a6831eaad6293c886 100644 |
--- a/content/renderer/render_frame_impl.h |
+++ b/content/renderer/render_frame_impl.h |
@@ -18,6 +18,7 @@ |
#include "content/common/accessibility_mode_enums.h" |
#include "content/common/frame_message_enums.h" |
#include "content/common/mojo/service_registry_impl.h" |
+#include "content/common/navigation_params.h" |
#include "content/public/common/console_message_level.h" |
#include "content/public/common/javascript_message_type.h" |
#include "content/public/common/referrer.h" |
@@ -208,7 +209,7 @@ class CONTENT_EXPORT RenderFrameImpl |
// This method must be called after the frame has been added to the frame |
// tree. It creates all objects that depend on the frame being at its proper |
// spot. |
- void Initialize(); |
+ void Initialize(LoFiState lofi_state = LOFI_DEFAULT); |
// Notifications from RenderWidget. |
void WasHidden(); |
@@ -1006,6 +1007,10 @@ class CONTENT_EXPORT RenderFrameImpl |
scoped_ptr<blink::WebBluetooth> bluetooth_; |
+ // Whether or not the LoFi header should be added to the request or if the |
+ // decision should be left up to the network-quality-based triggering logic. |
bengr
2015/08/25 00:00:02
I wouldn't get into how the browser process decide
megjablon
2015/08/25 20:29:47
Done.
|
+ LoFiState lofi_state_; |
+ |
#if defined(ENABLE_WEBVR) |
// The VR dispatcher attached to the frame, lazily initialized. |
scoped_ptr<VRDispatcher> vr_dispatcher_; |