1 // Copyright 2014 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.
5 #include "content/child/request_info.h"
9 RequestInfo::RequestInfo()
12 request_type(RESOURCE_TYPE_MAIN_FRAME
),
13 fetch_request_context_type(REQUEST_CONTEXT_TYPE_UNSPECIFIED
),
14 fetch_frame_type(REQUEST_CONTEXT_FRAME_TYPE_NONE
),
19 download_to_file(false),
20 has_user_gesture(false),
21 skip_service_worker(false),
22 fetch_request_mode(FETCH_REQUEST_MODE_NO_CORS
),
23 fetch_credentials_mode(FETCH_CREDENTIALS_MODE_OMIT
),
24 enable_load_timing(false),
25 enable_upload_progress(false),
29 RequestInfo::~RequestInfo() {}
31 } // namespace content