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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_request_info.h

Issue 6995013: More progress towards removing content settings code from the content layer. We can't use Cookie... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments and sync Created 9 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/resource_dispatcher_host_request_info.h
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host_request_info.h (revision 84789)
+++ 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() const { return context_; }
+
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_;
// "Private" data accessible only to ResourceDispatcherHost (use the
// accessors above for consistency).

Powered by Google App Engine
This is Rietveld 408576698