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

Side by Side Diff: content/browser/renderer_host/resource_request_info_impl.h

Issue 11270027: Add a ResourceScheduler to ResourceDispatcherHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Manage ownership with handles Created 8 years, 1 month 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
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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_INFO_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_INFO_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_INFO_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_INFO_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 virtual int64 GetParentFrameID() const OVERRIDE; 72 virtual int64 GetParentFrameID() const OVERRIDE;
73 virtual ResourceType::Type GetResourceType() const OVERRIDE; 73 virtual ResourceType::Type GetResourceType() const OVERRIDE;
74 virtual WebKit::WebReferrerPolicy GetReferrerPolicy() const OVERRIDE; 74 virtual WebKit::WebReferrerPolicy GetReferrerPolicy() const OVERRIDE;
75 virtual bool HasUserGesture() const OVERRIDE; 75 virtual bool HasUserGesture() const OVERRIDE;
76 virtual bool WasIgnoredByHandler() const OVERRIDE; 76 virtual bool WasIgnoredByHandler() const OVERRIDE;
77 virtual bool GetAssociatedRenderView(int* render_process_id, 77 virtual bool GetAssociatedRenderView(int* render_process_id,
78 int* render_view_id) const OVERRIDE; 78 int* render_view_id) const OVERRIDE;
79 virtual bool IsAsync() const OVERRIDE; 79 virtual bool IsAsync() const OVERRIDE;
80 80
81 81
82 void AssociateWithRequest(net::URLRequest* request); 82 CONTENT_EXPORT_PRIVATE void AssociateWithRequest(net::URLRequest* request);
83 83
84 GlobalRequestID GetGlobalRequestID() const; 84 GlobalRequestID GetGlobalRequestID() const;
85 85
86 // CrossSiteResourceHandler for this request. May be null. 86 // CrossSiteResourceHandler for this request. May be null.
87 CrossSiteResourceHandler* cross_site_handler() { 87 CrossSiteResourceHandler* cross_site_handler() {
88 return cross_site_handler_; 88 return cross_site_handler_;
89 } 89 }
90 void set_cross_site_handler(CrossSiteResourceHandler* h) { 90 void set_cross_site_handler(CrossSiteResourceHandler* h) {
91 cross_site_handler_ = h; 91 cross_site_handler_ = h;
92 } 92 }
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 scoped_refptr<webkit_blob::BlobData> requested_blob_data_; 153 scoped_refptr<webkit_blob::BlobData> requested_blob_data_;
154 WebKit::WebReferrerPolicy referrer_policy_; 154 WebKit::WebReferrerPolicy referrer_policy_;
155 ResourceContext* context_; 155 ResourceContext* context_;
156 156
157 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); 157 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl);
158 }; 158 };
159 159
160 } // namespace content 160 } // namespace content
161 161
162 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_INFO_IMPL_H_ 162 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_INFO_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698