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

Side by Side Diff: content/browser/renderer_host/resource_request_info_impl.cc

Issue 10568005: Balance defers with Resume. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browser/renderer_host/resource_request_info_impl.h" 5 #include "content/browser/renderer_host/resource_request_info_impl.h"
6 6
7 #include "content/browser/worker_host/worker_service_impl.h" 7 #include "content/browser/worker_host/worker_service_impl.h"
8 #include "content/common/net/url_request_user_data.h" 8 #include "content/common/net/url_request_user_data.h"
9 #include "content/public/browser/global_request_id.h" 9 #include "content/public/browser/global_request_id.h"
10 #include "net/url_request/url_request.h" 10 #include "net/url_request/url_request.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 int64 parent_frame_id, 89 int64 parent_frame_id,
90 ResourceType::Type resource_type, 90 ResourceType::Type resource_type,
91 PageTransition transition_type, 91 PageTransition transition_type,
92 uint64 upload_size, 92 uint64 upload_size,
93 bool is_download, 93 bool is_download,
94 bool allow_download, 94 bool allow_download,
95 bool has_user_gesture, 95 bool has_user_gesture,
96 WebKit::WebReferrerPolicy referrer_policy, 96 WebKit::WebReferrerPolicy referrer_policy,
97 ResourceContext* context) 97 ResourceContext* context)
98 : cross_site_handler_(NULL), 98 : cross_site_handler_(NULL),
99 async_handler_(NULL),
99 process_type_(process_type), 100 process_type_(process_type),
100 child_id_(child_id), 101 child_id_(child_id),
101 route_id_(route_id), 102 route_id_(route_id),
102 origin_pid_(origin_pid), 103 origin_pid_(origin_pid),
103 request_id_(request_id), 104 request_id_(request_id),
104 is_main_frame_(is_main_frame), 105 is_main_frame_(is_main_frame),
105 frame_id_(frame_id), 106 frame_id_(frame_id),
106 parent_is_main_frame_(parent_is_main_frame), 107 parent_is_main_frame_(parent_is_main_frame),
107 parent_frame_id_(parent_frame_id), 108 parent_frame_id_(parent_frame_id),
108 pending_data_count_(0),
109 is_download_(is_download), 109 is_download_(is_download),
110 allow_download_(allow_download), 110 allow_download_(allow_download),
111 has_user_gesture_(has_user_gesture), 111 has_user_gesture_(has_user_gesture),
112 resource_type_(resource_type), 112 resource_type_(resource_type),
113 transition_type_(transition_type), 113 transition_type_(transition_type),
114 upload_size_(upload_size), 114 upload_size_(upload_size),
115 memory_cost_(0), 115 memory_cost_(0),
116 referrer_policy_(referrer_policy), 116 referrer_policy_(referrer_policy),
117 context_(context) { 117 context_(context) {
118 } 118 }
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 GlobalRequestID ResourceRequestInfoImpl::GetGlobalRequestID() const { 203 GlobalRequestID ResourceRequestInfoImpl::GetGlobalRequestID() const {
204 return GlobalRequestID(child_id_, request_id_); 204 return GlobalRequestID(child_id_, request_id_);
205 } 205 }
206 206
207 void ResourceRequestInfoImpl::set_requested_blob_data( 207 void ResourceRequestInfoImpl::set_requested_blob_data(
208 webkit_blob::BlobData* data) { 208 webkit_blob::BlobData* data) {
209 requested_blob_data_ = data; 209 requested_blob_data_ = data;
210 } 210 }
211 211
212 } // namespace content 212 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/resource_request_info_impl.h ('k') | content/browser/renderer_host/sync_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698