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

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: fixed some minor issues 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 int request_id, 121 int request_id,
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 int error_code,
132 const std::string& security_info, 132 const std::string& security_info,
133 const base::TimeTicks& completion_time); 133 const base::TimeTicks& completion_time);
134 134
135 // Dispatch the message to one of the message response handlers. 135 // Dispatch the message to one of the message response handlers.
136 void DispatchMessage(const IPC::Message& message); 136 void DispatchMessage(const IPC::Message& message);
137 137
138 // Dispatch any deferred messages for the given request, provided it is not 138 // Dispatch any deferred messages for the given request, provided it is not
139 // again in the deferred state. 139 // again in the deferred state.
140 void FlushDeferredMessages(int request_id); 140 void FlushDeferredMessages(int request_id);
141 141
(...skipping 26 matching lines...) Expand all
168 PendingRequestList pending_requests_; 168 PendingRequestList pending_requests_;
169 169
170 base::WeakPtrFactory<ResourceDispatcher> weak_factory_; 170 base::WeakPtrFactory<ResourceDispatcher> weak_factory_;
171 171
172 content::ResourceDispatcherDelegate* delegate_; 172 content::ResourceDispatcherDelegate* delegate_;
173 173
174 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); 174 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher);
175 }; 175 };
176 176
177 #endif // CONTENT_COMMON_RESOURCE_DISPATCHER_H_ 177 #endif // CONTENT_COMMON_RESOURCE_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698