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

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

Issue 1698001: Receive cacheable metadata from the renderer and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | « chrome/common/render_messages_internal.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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 }; 84 };
85 typedef base::hash_map<int, PendingRequestInfo> PendingRequestList; 85 typedef base::hash_map<int, PendingRequestInfo> PendingRequestList;
86 86
87 // Message response handlers, called by the message handler for this process. 87 // Message response handlers, called by the message handler for this process.
88 void OnUploadProgress( 88 void OnUploadProgress(
89 const IPC::Message& message, 89 const IPC::Message& message,
90 int request_id, 90 int request_id,
91 int64 position, 91 int64 position,
92 int64 size); 92 int64 size);
93 void OnReceivedResponse(int request_id, const ResourceResponseHead&); 93 void OnReceivedResponse(int request_id, const ResourceResponseHead&);
94 void OnReceivedCachedMetadata(int request_id, const std::vector<char>& data);
94 void OnReceivedRedirect( 95 void OnReceivedRedirect(
95 const IPC::Message& message, 96 const IPC::Message& message,
96 int request_id, 97 int request_id,
97 const GURL& new_url, 98 const GURL& new_url,
98 const webkit_glue::ResourceLoaderBridge::ResponseInfo& info); 99 const webkit_glue::ResourceLoaderBridge::ResponseInfo& info);
99 void OnReceivedData( 100 void OnReceivedData(
100 const IPC::Message& message, 101 const IPC::Message& message,
101 int request_id, 102 int request_id,
102 base::SharedMemoryHandle data, 103 base::SharedMemoryHandle data,
103 int data_len); 104 int data_len);
(...skipping 27 matching lines...) Expand all
131 132
132 // All pending requests issued to the host 133 // All pending requests issued to the host
133 PendingRequestList pending_requests_; 134 PendingRequestList pending_requests_;
134 135
135 ScopedRunnableMethodFactory<ResourceDispatcher> method_factory_; 136 ScopedRunnableMethodFactory<ResourceDispatcher> method_factory_;
136 137
137 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); 138 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher);
138 }; 139 };
139 140
140 #endif // CHROME_COMMON_RESOURCE_DISPATCHER_H__ 141 #endif // CHROME_COMMON_RESOURCE_DISPATCHER_H__
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/common/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698