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

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

Issue 264613006: Move first-party cookie URL logic to browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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 | « content/child/npapi/plugin_url_fetcher.cc ('k') | content/child/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) 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 // Follows redirect, if any, for the given request. 140 // Follows redirect, if any, for the given request.
141 void FollowPendingRedirect(int request_id, PendingRequestInfo& request_info); 141 void FollowPendingRedirect(int request_id, PendingRequestInfo& request_info);
142 142
143 // Message response handlers, called by the message handler for this process. 143 // Message response handlers, called by the message handler for this process.
144 void OnUploadProgress(int request_id, int64 position, int64 size); 144 void OnUploadProgress(int request_id, int64 position, int64 size);
145 void OnReceivedResponse(int request_id, const ResourceResponseHead&); 145 void OnReceivedResponse(int request_id, const ResourceResponseHead&);
146 void OnReceivedCachedMetadata(int request_id, const std::vector<char>& data); 146 void OnReceivedCachedMetadata(int request_id, const std::vector<char>& data);
147 void OnReceivedRedirect(int request_id, 147 void OnReceivedRedirect(int request_id,
148 const GURL& new_url, 148 const GURL& new_url,
149 const GURL& new_first_party_for_cookies,
149 const ResourceResponseHead& response_head); 150 const ResourceResponseHead& response_head);
150 void OnSetDataBuffer(int request_id, 151 void OnSetDataBuffer(int request_id,
151 base::SharedMemoryHandle shm_handle, 152 base::SharedMemoryHandle shm_handle,
152 int shm_size, 153 int shm_size,
153 base::ProcessId renderer_pid); 154 base::ProcessId renderer_pid);
154 void OnReceivedData(int request_id, 155 void OnReceivedData(int request_id,
155 int data_offset, 156 int data_offset,
156 int data_length, 157 int data_length,
157 int encoded_data_length); 158 int encoded_data_length);
158 void OnDownloadedData(int request_id, int data_len, int encoded_data_length); 159 void OnDownloadedData(int request_id, int data_len, int encoded_data_length);
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 207
207 // IO thread timestamp for ongoing IPC message. 208 // IO thread timestamp for ongoing IPC message.
208 base::TimeTicks io_timestamp_; 209 base::TimeTicks io_timestamp_;
209 210
210 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); 211 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher);
211 }; 212 };
212 213
213 } // namespace content 214 } // namespace content
214 215
215 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_ 216 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/child/npapi/plugin_url_fetcher.cc ('k') | content/child/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698