| Index: content/child/request_extra_data.cc
|
| diff --git a/content/child/request_extra_data.cc b/content/child/request_extra_data.cc
|
| index ba9789d6f49583beed257904b7a43006f662963c..64000aae3a57587014ace5729c38cafe43852faf 100644
|
| --- a/content/child/request_extra_data.cc
|
| +++ b/content/child/request_extra_data.cc
|
| @@ -3,11 +3,45 @@
|
| // found in the LICENSE file.
|
|
|
| #include "content/child/request_extra_data.h"
|
| +#include "content/common/service_worker/service_worker_types.h"
|
| +#include "ipc/ipc_message.h"
|
|
|
| using blink::WebString;
|
|
|
| namespace content {
|
|
|
| +RequestExtraData::RequestExtraData()
|
| + : webkit_glue::WebURLRequestExtraDataImpl(blink::WebString(),
|
| + false),
|
| + visibility_state_(blink::WebPageVisibilityStateVisible),
|
| + render_frame_id_(MSG_ROUTING_NONE),
|
| + is_main_frame_(false),
|
| + parent_is_main_frame_(false),
|
| + parent_render_frame_id_(-1),
|
| + allow_download_(true),
|
| + transition_type_(PAGE_TRANSITION_LINK),
|
| + should_replace_current_entry_(false),
|
| + transferred_request_child_id_(-1),
|
| + transferred_request_request_id_(-1),
|
| + service_worker_provider_id_(kInvalidServiceWorkerProviderId) {
|
| +}
|
| +
|
| +RequestExtraData::RequestExtraData(int provider_id)
|
| + : webkit_glue::WebURLRequestExtraDataImpl(blink::WebString(),
|
| + false),
|
| + visibility_state_(blink::WebPageVisibilityStateVisible),
|
| + render_frame_id_(MSG_ROUTING_NONE),
|
| + is_main_frame_(false),
|
| + parent_is_main_frame_(false),
|
| + parent_render_frame_id_(-1),
|
| + allow_download_(true),
|
| + transition_type_(PAGE_TRANSITION_LINK),
|
| + should_replace_current_entry_(false),
|
| + transferred_request_child_id_(-1),
|
| + transferred_request_request_id_(-1),
|
| + service_worker_provider_id_(provider_id) {
|
| +}
|
| +
|
| RequestExtraData::RequestExtraData(
|
| blink::WebPageVisibilityState visibility_state,
|
| const WebString& custom_user_agent,
|
|
|