Chromium Code Reviews| Index: content/browser/renderer_host/resource_dispatcher_host_request_info.h |
| =================================================================== |
| --- content/browser/renderer_host/resource_dispatcher_host_request_info.h (revision 84586) |
| +++ content/browser/renderer_host/resource_dispatcher_host_request_info.h (working copy) |
| @@ -21,6 +21,10 @@ |
| class ResourceHandler; |
| class SSLClientAuthHandler; |
| +namespace content { |
| +class ResourceContext; |
| +} |
| + |
| namespace webkit_blob { |
| class BlobData; |
| } |
| @@ -40,7 +44,8 @@ |
| uint64 upload_size, |
| bool is_download, |
| bool allow_download, |
| - bool has_user_gesture); |
| + bool has_user_gesture, |
| + const content::ResourceContext& context); |
| virtual ~ResourceDispatcherHostRequestInfo(); |
| // Top-level ResourceHandler servicing this request. |
| @@ -150,6 +155,8 @@ |
| } |
| void set_requested_blob_data(webkit_blob::BlobData* data); |
| + const content::ResourceContext& context() { return context_; } |
|
willchan no longer on Chromium
2011/05/10 18:36:56
Nit: make this const? up to you.
jam
2011/05/10 19:27:22
Done.
|
| + |
| private: |
| friend class ResourceDispatcherHost; |
| @@ -203,6 +210,7 @@ |
| bool waiting_for_upload_progress_ack_; |
| int memory_cost_; |
| scoped_refptr<webkit_blob::BlobData> requested_blob_data_; |
| + const content::ResourceContext& context_; |
|
willchan no longer on Chromium
2011/05/10 18:36:56
Again on the reference member vars.
jam
2011/05/10 19:27:22
Done.
|
| // "Private" data accessible only to ResourceDispatcherHost (use the |
| // accessors above for consistency). |