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

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

Issue 10640019: Remove the HANDLED_EXTERNALLY status code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase + fix nits Created 8 years, 3 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_COMMON_RESOURCE_DISPATCHER_H_ 7 #ifndef CONTENT_COMMON_RESOURCE_DISPATCHER_H_
8 #define CONTENT_COMMON_RESOURCE_DISPATCHER_H_ 8 #define CONTENT_COMMON_RESOURCE_DISPATCHER_H_
9 9
10 #include <deque> 10 #include <deque>
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 int request_id, 117 int request_id,
118 base::SharedMemoryHandle data, 118 base::SharedMemoryHandle data,
119 int data_len, 119 int data_len,
120 int encoded_data_length); 120 int encoded_data_length);
121 void OnDownloadedData( 121 void OnDownloadedData(
122 const IPC::Message& message, 122 const IPC::Message& message,
123 int request_id, 123 int request_id,
124 int data_len); 124 int data_len);
125 void OnRequestComplete( 125 void OnRequestComplete(
126 int request_id, 126 int request_id,
127 const net::URLRequestStatus& status, 127 int error_code,
128 bool was_ignored_by_handler,
128 const std::string& security_info, 129 const std::string& security_info,
129 const base::TimeTicks& completion_time); 130 const base::TimeTicks& completion_time);
130 131
131 // Dispatch the message to one of the message response handlers. 132 // Dispatch the message to one of the message response handlers.
132 void DispatchMessage(const IPC::Message& message); 133 void DispatchMessage(const IPC::Message& message);
133 134
134 // Dispatch any deferred messages for the given request, provided it is not 135 // Dispatch any deferred messages for the given request, provided it is not
135 // again in the deferred state. 136 // again in the deferred state.
136 void FlushDeferredMessages(int request_id); 137 void FlushDeferredMessages(int request_id);
137 138
(...skipping 28 matching lines...) Expand all
166 base::WeakPtrFactory<ResourceDispatcher> weak_factory_; 167 base::WeakPtrFactory<ResourceDispatcher> weak_factory_;
167 168
168 ResourceDispatcherDelegate* delegate_; 169 ResourceDispatcherDelegate* delegate_;
169 170
170 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); 171 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher);
171 }; 172 };
172 173
173 } // namespace content 174 } // namespace content
174 175
175 #endif // CONTENT_COMMON_RESOURCE_DISPATCHER_H_ 176 #endif // CONTENT_COMMON_RESOURCE_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/throttling_resource_handler.cc ('k') | content/common/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698