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

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

Issue 132143003: [abort] Let webkit know we're past the phase where throttles run. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 // 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 <deque> 10 #include <deque>
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 void OnDownloadedData( 147 void OnDownloadedData(
148 int request_id, 148 int request_id,
149 int data_len, 149 int data_len,
150 int encoded_data_length); 150 int encoded_data_length);
151 void OnRequestComplete( 151 void OnRequestComplete(
152 int request_id, 152 int request_id,
153 int error_code, 153 int error_code,
154 bool was_ignored_by_handler, 154 bool was_ignored_by_handler,
155 const std::string& security_info, 155 const std::string& security_info,
156 const base::TimeTicks& completion_time); 156 const base::TimeTicks& completion_time);
157 void OnRequestDidStartForFrame(int request_id);
157 158
158 // Dispatch the message to one of the message response handlers. 159 // Dispatch the message to one of the message response handlers.
159 void DispatchMessage(const IPC::Message& message); 160 void DispatchMessage(const IPC::Message& message);
160 161
161 // Dispatch any deferred messages for the given request, provided it is not 162 // Dispatch any deferred messages for the given request, provided it is not
162 // again in the deferred state. 163 // again in the deferred state.
163 void FlushDeferredMessages(int request_id); 164 void FlushDeferredMessages(int request_id);
164 165
165 void ToResourceResponseInfo( 166 void ToResourceResponseInfo(
166 const PendingRequestInfo& request_info, 167 const PendingRequestInfo& request_info,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 202
202 // IO thread timestamp for ongoing IPC message. 203 // IO thread timestamp for ongoing IPC message.
203 base::TimeTicks io_timestamp_; 204 base::TimeTicks io_timestamp_;
204 205
205 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); 206 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher);
206 }; 207 };
207 208
208 } // namespace content 209 } // namespace content
209 210
210 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_ 211 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/child/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698