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

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: hack, hack, hack Created 8 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 9 #pragma once
10 10
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 base::SharedMemoryHandle data, 122 base::SharedMemoryHandle data,
123 int data_len, 123 int data_len,
124 int encoded_data_length); 124 int encoded_data_length);
125 void OnDownloadedData( 125 void OnDownloadedData(
126 const IPC::Message& message, 126 const IPC::Message& message,
127 int request_id, 127 int request_id,
128 int data_len); 128 int data_len);
129 void OnRequestComplete( 129 void OnRequestComplete(
130 int request_id, 130 int request_id,
131 const net::URLRequestStatus& status, 131 const net::URLRequestStatus& status,
132 bool handled_externally,
132 const std::string& security_info, 133 const std::string& security_info,
133 const base::TimeTicks& completion_time); 134 const base::TimeTicks& completion_time);
134 135
135 // Dispatch the message to one of the message response handlers. 136 // Dispatch the message to one of the message response handlers.
136 void DispatchMessage(const IPC::Message& message); 137 void DispatchMessage(const IPC::Message& message);
137 138
138 // Dispatch any deferred messages for the given request, provided it is not 139 // Dispatch any deferred messages for the given request, provided it is not
139 // again in the deferred state. 140 // again in the deferred state.
140 void FlushDeferredMessages(int request_id); 141 void FlushDeferredMessages(int request_id);
141 142
(...skipping 26 matching lines...) Expand all
168 PendingRequestList pending_requests_; 169 PendingRequestList pending_requests_;
169 170
170 base::WeakPtrFactory<ResourceDispatcher> weak_factory_; 171 base::WeakPtrFactory<ResourceDispatcher> weak_factory_;
171 172
172 content::ResourceDispatcherDelegate* delegate_; 173 content::ResourceDispatcherDelegate* delegate_;
173 174
174 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); 175 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher);
175 }; 176 };
176 177
177 #endif // CONTENT_COMMON_RESOURCE_DISPATCHER_H_ 178 #endif // CONTENT_COMMON_RESOURCE_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698