Make USB permissions work in the new permission message system
[chromium-blink-merge.git] / content / child / request_info.cc
blobf2a679ba0d16dbb17e17aab2ebba66215125713b
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"
7 namespace content {
9 RequestInfo::RequestInfo()
10 : load_flags(0),
11 requestor_pid(0),
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),
15 priority(net::LOW),
16 request_context(0),
17 appcache_host_id(0),
18 routing_id(0),
19 download_to_file(false),
20 has_user_gesture(false),
21 skip_service_worker(false),
22 should_reset_appcache(false),
23 fetch_request_mode(FETCH_REQUEST_MODE_NO_CORS),
24 fetch_credentials_mode(FETCH_CREDENTIALS_MODE_OMIT),
25 fetch_redirect_mode(FetchRedirectMode::FOLLOW_MODE),
26 enable_load_timing(false),
27 enable_upload_progress(false),
28 do_not_prompt_for_login(false),
29 extra_data(NULL) {}
31 RequestInfo::~RequestInfo() {}
33 } // namespace content