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

Unified Diff: content/child/request_extra_data.h

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fixes Created 5 years, 4 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
Index: content/child/request_extra_data.h
diff --git a/content/child/request_extra_data.h b/content/child/request_extra_data.h
index 614d9fc321cb528f0584ed885d0726cddd39f708..6371290e3a43afcdb924e647b2d2f635f937753f 100644
--- a/content/child/request_extra_data.h
+++ b/content/child/request_extra_data.h
@@ -8,6 +8,7 @@
#include "base/compiler_specific.h"
#include "content/child/web_url_loader_impl.h"
#include "content/common/content_export.h"
+#include "content/common/navigation_params.h"
#include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
#include "third_party/WebKit/public/platform/WebString.h"
#include "third_party/WebKit/public/platform/WebURLRequest.h"
@@ -114,6 +115,13 @@ class CONTENT_EXPORT RequestExtraData
stream_override_ = stream_override.Pass();
}
+ LoFiState lofi_state() const {
+ return lofi_state_;
+ }
+ void set_lofi_state(LoFiState lofi_state) {
bengr 2015/08/25 00:00:02 Add a blank line above.
megjablon 2015/08/25 20:29:46 Moved above where there isn't spacing between sett
+ lofi_state_ = lofi_state;
+ }
+
private:
blink::WebPageVisibilityState visibility_state_;
int render_frame_id_;
@@ -130,6 +138,7 @@ class CONTENT_EXPORT RequestExtraData
blink::WebString custom_user_agent_;
blink::WebString requested_with_;
scoped_ptr<StreamOverrideParameters> stream_override_;
+ LoFiState lofi_state_;
DISALLOW_COPY_AND_ASSIGN(RequestExtraData);
};

Powered by Google App Engine
This is Rietveld 408576698