summaryrefslogtreecommitdiff
path: root/chromium/content/child/request_info.cc
blob: 2d69b51d5757d8b7e32ed8768f8d17bd86f167fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/child/request_info.h"

namespace content {

RequestInfo::RequestInfo()
    : load_flags(0),
      requestor_pid(0),
      request_type(RESOURCE_TYPE_MAIN_FRAME),
      fetch_request_context_type(REQUEST_CONTEXT_TYPE_UNSPECIFIED),
      fetch_frame_type(REQUEST_CONTEXT_FRAME_TYPE_NONE),
      priority(net::LOW),
      request_context(0),
      appcache_host_id(0),
      routing_id(0),
      download_to_file(false),
      has_user_gesture(false),
      skip_service_worker(SkipServiceWorker::NONE),
      should_reset_appcache(false),
      fetch_request_mode(FETCH_REQUEST_MODE_NO_CORS),
      fetch_credentials_mode(FETCH_CREDENTIALS_MODE_OMIT),
      fetch_redirect_mode(FetchRedirectMode::FOLLOW_MODE),
      enable_load_timing(false),
      enable_upload_progress(false),
      do_not_prompt_for_login(false),
      report_raw_headers(false),
      extra_data(NULL),
      loading_web_task_runner(nullptr),
      lofi_state(LOFI_UNSPECIFIED) {}

RequestInfo::~RequestInfo() {}

}  // namespace content