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

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

Issue 113931: Remove code path that passes a file handle to the renderer... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/common/resource_dispatcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_COMMON_RESOURCE_DISPATCHER_H__ 7 #ifndef CHROME_COMMON_RESOURCE_DISPATCHER_H__
8 #define CHROME_COMMON_RESOURCE_DISPATCHER_H__ 8 #define CHROME_COMMON_RESOURCE_DISPATCHER_H__
9 9
10 #include <deque> 10 #include <deque>
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 MessageQueue deferred_message_queue; 85 MessageQueue deferred_message_queue;
86 bool is_deferred; 86 bool is_deferred;
87 }; 87 };
88 typedef base::hash_map<int, PendingRequestInfo> PendingRequestList; 88 typedef base::hash_map<int, PendingRequestInfo> PendingRequestList;
89 89
90 // Message response handlers, called by the message handler for this process. 90 // Message response handlers, called by the message handler for this process.
91 void OnUploadProgress(const IPC::Message& message, 91 void OnUploadProgress(const IPC::Message& message,
92 int request_id, 92 int request_id,
93 int64 position, 93 int64 position,
94 int64 size); 94 int64 size);
95 void OnDownloadProgress(const IPC::Message& message,
96 int request_id, int64 position, int64 size);
97 void OnReceivedResponse(int request_id, const ResourceResponseHead&); 95 void OnReceivedResponse(int request_id, const ResourceResponseHead&);
98 void OnReceivedRedirect(int request_id, const GURL& new_url); 96 void OnReceivedRedirect(int request_id, const GURL& new_url);
99 void OnReceivedData(const IPC::Message& message, 97 void OnReceivedData(const IPC::Message& message,
100 int request_id, 98 int request_id,
101 base::SharedMemoryHandle data, 99 base::SharedMemoryHandle data,
102 int data_len); 100 int data_len);
103 void OnRequestComplete(int request_id, 101 void OnRequestComplete(int request_id,
104 const URLRequestStatus& status, 102 const URLRequestStatus& status,
105 const std::string& security_info); 103 const std::string& security_info);
106 104
(...skipping 17 matching lines...) Expand all
124 122
125 // All pending requests issued to the host 123 // All pending requests issued to the host
126 PendingRequestList pending_requests_; 124 PendingRequestList pending_requests_;
127 125
128 ScopedRunnableMethodFactory<ResourceDispatcher> method_factory_; 126 ScopedRunnableMethodFactory<ResourceDispatcher> method_factory_;
129 127
130 DISALLOW_EVIL_CONSTRUCTORS(ResourceDispatcher); 128 DISALLOW_EVIL_CONSTRUCTORS(ResourceDispatcher);
131 }; 129 };
132 130
133 #endif // CHROME_COMMON_RESOURCE_DISPATCHER_H__ 131 #endif // CHROME_COMMON_RESOURCE_DISPATCHER_H__
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/common/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698