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

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

Issue 2762953004: Remove inline small resource transfer experiment (Closed)
Patch Set: Created 3 years, 9 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 (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 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
6 6
7 #ifndef CONTENT_CHILD_RESOURCE_DISPATCHER_H_ 7 #ifndef CONTENT_CHILD_RESOURCE_DISPATCHER_H_
8 #define CONTENT_CHILD_RESOURCE_DISPATCHER_H_ 8 #define CONTENT_CHILD_RESOURCE_DISPATCHER_H_
9 9
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 void OnUploadProgress(int request_id, int64_t position, int64_t size); 204 void OnUploadProgress(int request_id, int64_t position, int64_t size);
205 void OnReceivedResponse(int request_id, const ResourceResponseHead&); 205 void OnReceivedResponse(int request_id, const ResourceResponseHead&);
206 void OnReceivedCachedMetadata(int request_id, const std::vector<char>& data); 206 void OnReceivedCachedMetadata(int request_id, const std::vector<char>& data);
207 void OnReceivedRedirect(int request_id, 207 void OnReceivedRedirect(int request_id,
208 const net::RedirectInfo& redirect_info, 208 const net::RedirectInfo& redirect_info,
209 const ResourceResponseHead& response_head); 209 const ResourceResponseHead& response_head);
210 void OnSetDataBuffer(int request_id, 210 void OnSetDataBuffer(int request_id,
211 base::SharedMemoryHandle shm_handle, 211 base::SharedMemoryHandle shm_handle,
212 int shm_size, 212 int shm_size,
213 base::ProcessId renderer_pid); 213 base::ProcessId renderer_pid);
214 void OnReceivedInlinedDataChunk(int request_id,
215 const std::vector<char>& data,
216 int encoded_data_length);
217 void OnReceivedData(int request_id, 214 void OnReceivedData(int request_id,
218 int data_offset, 215 int data_offset,
219 int data_length, 216 int data_length,
220 int encoded_data_length); 217 int encoded_data_length);
221 void OnDownloadedData(int request_id, int data_len, int encoded_data_length); 218 void OnDownloadedData(int request_id, int data_len, int encoded_data_length);
222 void OnRequestComplete( 219 void OnRequestComplete(
223 int request_id, 220 int request_id,
224 const ResourceRequestCompletionStatus& request_complete_data); 221 const ResourceRequestCompletionStatus& request_complete_data);
225 222
226 // Dispatch the message to one of the message response handlers. 223 // Dispatch the message to one of the message response handlers.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_; 268 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_;
272 269
273 base::WeakPtrFactory<ResourceDispatcher> weak_factory_; 270 base::WeakPtrFactory<ResourceDispatcher> weak_factory_;
274 271
275 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); 272 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher);
276 }; 273 };
277 274
278 } // namespace content 275 } // namespace content
279 276
280 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_ 277 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_unittest.cc ('k') | content/child/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698