summaryrefslogtreecommitdiff
path: root/chromium/content/child/request_extra_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/child/request_extra_data.h')
-rw-r--r--chromium/content/child/request_extra_data.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/chromium/content/child/request_extra_data.h b/chromium/content/child/request_extra_data.h
index eb80fac5047..77c164655d9 100644
--- a/chromium/content/child/request_extra_data.h
+++ b/chromium/content/child/request_extra_data.h
@@ -98,12 +98,6 @@ class CONTENT_EXPORT RequestExtraData
void set_originated_from_service_worker(bool originated_from_service_worker) {
originated_from_service_worker_ = originated_from_service_worker;
}
- LoFiState lofi_state() const {
- return lofi_state_;
- }
- void set_lofi_state(LoFiState lofi_state) {
- lofi_state_ = lofi_state;
- }
// |custom_user_agent| is used to communicate an overriding custom user agent
// to |RenderViewImpl::willSendRequest()|; set to a null string to indicate no
// override and an empty string to indicate that there should be no user
@@ -132,6 +126,13 @@ class CONTENT_EXPORT RequestExtraData
stream_override_ = std::move(stream_override);
}
+ bool initiated_in_secure_context() const {
+ return initiated_in_secure_context_;
+ }
+ void set_initiated_in_secure_context(bool secure) {
+ initiated_in_secure_context_ = secure;
+ }
+
private:
blink::WebPageVisibilityState visibility_state_;
int render_frame_id_;
@@ -149,7 +150,7 @@ class CONTENT_EXPORT RequestExtraData
blink::WebString custom_user_agent_;
blink::WebString requested_with_;
std::unique_ptr<StreamOverrideParameters> stream_override_;
- LoFiState lofi_state_;
+ bool initiated_in_secure_context_;
DISALLOW_COPY_AND_ASSIGN(RequestExtraData);
};