Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1328)

Side by Side Diff: content/child/request_info.cc

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Really fixed the test failure this time Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/child/request_info.h" 5 #include "content/child/request_info.h"
6 6
7 #include "base/single_thread_task_runner.h"
8
7 namespace content { 9 namespace content {
8 10
9 RequestInfo::RequestInfo() 11 RequestInfo::RequestInfo()
10 : load_flags(0), 12 : load_flags(0),
11 requestor_pid(0), 13 requestor_pid(0),
12 request_type(RESOURCE_TYPE_MAIN_FRAME), 14 request_type(RESOURCE_TYPE_MAIN_FRAME),
13 fetch_request_context_type(REQUEST_CONTEXT_TYPE_UNSPECIFIED), 15 fetch_request_context_type(REQUEST_CONTEXT_TYPE_UNSPECIFIED),
14 fetch_frame_type(REQUEST_CONTEXT_FRAME_TYPE_NONE), 16 fetch_frame_type(REQUEST_CONTEXT_FRAME_TYPE_NONE),
15 priority(net::LOW), 17 priority(net::LOW),
16 request_context(0), 18 request_context(0),
17 appcache_host_id(0), 19 appcache_host_id(0),
18 routing_id(0), 20 routing_id(0),
19 download_to_file(false), 21 download_to_file(false),
20 has_user_gesture(false), 22 has_user_gesture(false),
21 skip_service_worker(SkipServiceWorker::NONE), 23 skip_service_worker(SkipServiceWorker::NONE),
22 should_reset_appcache(false), 24 should_reset_appcache(false),
23 fetch_request_mode(FETCH_REQUEST_MODE_NO_CORS), 25 fetch_request_mode(FETCH_REQUEST_MODE_NO_CORS),
24 fetch_credentials_mode(FETCH_CREDENTIALS_MODE_OMIT), 26 fetch_credentials_mode(FETCH_CREDENTIALS_MODE_OMIT),
25 fetch_redirect_mode(FetchRedirectMode::FOLLOW_MODE), 27 fetch_redirect_mode(FetchRedirectMode::FOLLOW_MODE),
26 enable_load_timing(false), 28 enable_load_timing(false),
27 enable_upload_progress(false), 29 enable_upload_progress(false),
28 do_not_prompt_for_login(false), 30 do_not_prompt_for_login(false),
29 report_raw_headers(false), 31 report_raw_headers(false),
30 extra_data(NULL), 32 extra_data(NULL),
31 loading_web_task_runner(nullptr),
32 lofi_state(LOFI_UNSPECIFIED) {} 33 lofi_state(LOFI_UNSPECIFIED) {}
33 34
34 RequestInfo::~RequestInfo() {} 35 RequestInfo::~RequestInfo() {}
35 36
36 } // namespace content 37 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698