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

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

Issue 9348109: Add extra data to BrowserContext so that content layer and other embedders can stash data with it t… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 121897)
+++ content/browser/renderer_host/resource_dispatcher_host_request_info.h (working copy)
@@ -9,13 +9,14 @@
#include <string>
#include "base/basictypes.h"
+#include "base/memory/ref_counted.h"
+#include "base/supports_user_data.h"
#include "base/time.h"
#include "content/common/content_export.h"
#include "content/public/common/page_transition_types.h"
#include "content/public/common/process_type.h"
#include "content/public/common/referrer.h"
#include "net/base/load_states.h"
-#include "net/url_request/url_request.h"
#include "webkit/glue/resource_type.h"
class ResourceDispatcherHost;
@@ -28,13 +29,17 @@
class ResourceDispatcherHostLoginDelegate;
}
+namespace net {
+class URLRequest;
+}
+
namespace webkit_blob {
class BlobData;
}
// Holds the data ResourceDispatcherHost associates with each request.
// Retrieve this data by calling ResourceDispatcherHost::InfoForRequest.
-class ResourceDispatcherHostRequestInfo : public net::URLRequest::UserData {
+class ResourceDispatcherHostRequestInfo : public base::SupportsUserData::Data {
public:
// This will take a reference to the handler.
CONTENT_EXPORT ResourceDispatcherHostRequestInfo(

Powered by Google App Engine
This is Rietveld 408576698