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

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

Issue 1402933002: Revert "Post loading tasks on the appropriate WebFrameScheduler's queue." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bad merge 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
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/request_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "content/common/service_worker/service_worker_types.h" 13 #include "content/common/service_worker/service_worker_types.h"
14 #include "content/public/common/referrer.h" 14 #include "content/public/common/referrer.h"
15 #include "content/public/common/request_context_frame_type.h" 15 #include "content/public/common/request_context_frame_type.h"
16 #include "content/public/common/request_context_type.h" 16 #include "content/public/common/request_context_type.h"
17 #include "content/public/common/resource_type.h" 17 #include "content/public/common/resource_type.h"
18 #include "net/base/request_priority.h" 18 #include "net/base/request_priority.h"
19 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" 19 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
20 #include "third_party/WebKit/public/platform/WebTaskRunner.h"
21 #include "third_party/WebKit/public/platform/WebURLRequest.h" 20 #include "third_party/WebKit/public/platform/WebURLRequest.h"
22 #include "url/gurl.h" 21 #include "url/gurl.h"
23 22
24 namespace blink {
25 class WebTaskRunner;
26 } // namespace blink
27
28 namespace content { 23 namespace content {
29 24
30 // Structure used when calling BlinkPlatformImpl::CreateResourceLoader(). 25 // Structure used when calling BlinkPlatformImpl::CreateResourceLoader().
31 struct CONTENT_EXPORT RequestInfo { 26 struct CONTENT_EXPORT RequestInfo {
32 RequestInfo(); 27 RequestInfo();
33 ~RequestInfo(); 28 ~RequestInfo();
34 29
35 // HTTP-style method name (e.g., "GET" or "POST"). 30 // HTTP-style method name (e.g., "GET" or "POST").
36 std::string method; 31 std::string method;
37 32
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // credentials or default credentials may still be used for authentication. 103 // credentials or default credentials may still be used for authentication.
109 bool do_not_prompt_for_login; 104 bool do_not_prompt_for_login;
110 105
111 // True if the actual headers from the network stack should be reported 106 // True if the actual headers from the network stack should be reported
112 // to the renderer 107 // to the renderer
113 bool report_raw_headers; 108 bool report_raw_headers;
114 109
115 // Extra data associated with this request. We do not own this pointer. 110 // Extra data associated with this request. We do not own this pointer.
116 blink::WebURLRequest::ExtraData* extra_data; 111 blink::WebURLRequest::ExtraData* extra_data;
117 112
118 // Optional, the specific task queue to execute loading tasks on.
119 scoped_ptr<blink::WebTaskRunner> loading_web_task_runner;
120
121 private: 113 private:
122 DISALLOW_COPY_AND_ASSIGN(RequestInfo); 114 DISALLOW_COPY_AND_ASSIGN(RequestInfo);
123 }; 115 };
124 116
125 } // namespace content 117 } // namespace content
126 118
127 #endif // CONTENT_CHILD_REQUEST_INFO_H_ 119 #endif // CONTENT_CHILD_REQUEST_INFO_H_
OLDNEW
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698