Home | History | Annotate | Download | only in child
      1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #include "content/child/request_extra_data.h"
      6 
      7 #include "content/common/service_worker/service_worker_types.h"
      8 #include "ipc/ipc_message.h"
      9 
     10 using blink::WebString;
     11 
     12 namespace content {
     13 
     14 RequestExtraData::RequestExtraData()
     15     : visibility_state_(blink::WebPageVisibilityStateVisible),
     16       render_frame_id_(MSG_ROUTING_NONE),
     17       is_main_frame_(false),
     18       parent_is_main_frame_(false),
     19       parent_render_frame_id_(-1),
     20       allow_download_(true),
     21       transition_type_(ui::PAGE_TRANSITION_LINK),
     22       should_replace_current_entry_(false),
     23       transferred_request_child_id_(-1),
     24       transferred_request_request_id_(-1),
     25       service_worker_provider_id_(kInvalidServiceWorkerProviderId) {
     26 }
     27 
     28 RequestExtraData::~RequestExtraData() {
     29 }
     30 
     31 }  // namespace content
     32