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

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

Issue 1366883002: [Reland] Post loading tasks on the appropriate WebFrameScheduler's queue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 2 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 #ifndef CONTENT_CHILD_REQUEST_INFO_H_ 5 #ifndef CONTENT_CHILD_REQUEST_INFO_H_
6 #define CONTENT_CHILD_REQUEST_INFO_H_ 6 #define CONTENT_CHILD_REQUEST_INFO_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/single_thread_task_runner.h"
12 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
13 #include "content/common/service_worker/service_worker_types.h" 14 #include "content/common/service_worker/service_worker_types.h"
14 #include "content/public/common/referrer.h" 15 #include "content/public/common/referrer.h"
15 #include "content/public/common/request_context_frame_type.h" 16 #include "content/public/common/request_context_frame_type.h"
16 #include "content/public/common/request_context_type.h" 17 #include "content/public/common/request_context_type.h"
17 #include "content/public/common/resource_type.h" 18 #include "content/public/common/resource_type.h"
18 #include "net/base/request_priority.h" 19 #include "net/base/request_priority.h"
19 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" 20 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
20 #include "third_party/WebKit/public/platform/WebURLRequest.h" 21 #include "third_party/WebKit/public/platform/WebURLRequest.h"
21 #include "url/gurl.h" 22 #include "url/gurl.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // credentials or default credentials may still be used for authentication. 104 // credentials or default credentials may still be used for authentication.
104 bool do_not_prompt_for_login; 105 bool do_not_prompt_for_login;
105 106
106 // True if the actual headers from the network stack should be reported 107 // True if the actual headers from the network stack should be reported
107 // to the renderer 108 // to the renderer
108 bool report_raw_headers; 109 bool report_raw_headers;
109 110
110 // Extra data associated with this request. We do not own this pointer. 111 // Extra data associated with this request. We do not own this pointer.
111 blink::WebURLRequest::ExtraData* extra_data; 112 blink::WebURLRequest::ExtraData* extra_data;
112 113
114 // Optional, the specific task queue to execute loading tasks on.
115 scoped_refptr<base::SingleThreadTaskRunner> loading_task_queue;
116
113 private: 117 private:
114 DISALLOW_COPY_AND_ASSIGN(RequestInfo); 118 DISALLOW_COPY_AND_ASSIGN(RequestInfo);
115 }; 119 };
116 120
117 } // namespace content 121 } // namespace content
118 122
119 #endif // CONTENT_CHILD_REQUEST_INFO_H_ 123 #endif // CONTENT_CHILD_REQUEST_INFO_H_
OLDNEW
« no previous file with comments | « no previous file | content/child/resource_dispatcher.h » ('j') | content/child/resource_dispatcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698