Commit c71e9795 authored by Johannes Henkel's avatar Johannes Henkel Committed by Commit Bot

Port inspector_network_agent to use AgentStateField fields.

Change-Id: I7fc667a8bfd72c8896848a9443f8ff6abc2cdf38
Reviewed-on: https://chromium-review.googlesource.com/1159240
Commit-Queue: Johannes Henkel <johannes@chromium.org>
Reviewed-by: default avatarAndrey Kosyakov <caseq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#580016}
parent 43fd1f40
......@@ -234,9 +234,7 @@ class CORE_EXPORT InspectorNetworkAgent final
String NavigationInitiatorInfo(LocalFrame*);
private:
void Enable(int total_buffer_size,
int resource_buffer_size,
int max_post_data_size);
void Enable();
void WillSendRequestInternal(ExecutionContext*,
unsigned long identifier,
DocumentLoader*,
......@@ -286,7 +284,14 @@ class CORE_EXPORT InspectorNetworkAgent final
HeapHashSet<Member<XMLHttpRequest>> replay_xhrs_;
HeapHashSet<Member<XMLHttpRequest>> replay_xhrs_to_be_deleted_;
TaskRunnerTimer<InspectorNetworkAgent> remove_finished_replay_xhr_timer_;
int max_post_data_size_;
InspectorAgentState::Boolean enabled_;
InspectorAgentState::Boolean cache_disabled_;
InspectorAgentState::Boolean bypass_service_worker_;
InspectorAgentState::BooleanMap blocked_urls_;
InspectorAgentState::StringMap extra_request_headers_;
InspectorAgentState::Integer total_buffer_size_;
InspectorAgentState::Integer resource_buffer_size_;
InspectorAgentState::Integer max_post_data_size_;
};
} // namespace blink
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment