Chromium Code Reviews| Index: chrome/browser/prerender/prerender_resource_throttle.h |
| diff --git a/chrome/browser/prerender/prerender_resource_throttle.h b/chrome/browser/prerender/prerender_resource_throttle.h |
| index f0143ea0e8a9e8036d9e12a0c353aa752ca108f7..5dfd64497b8092f3b0a5a06d2cd6d8159c3b0185 100644 |
| --- a/chrome/browser/prerender/prerender_resource_throttle.h |
| +++ b/chrome/browser/prerender/prerender_resource_throttle.h |
| @@ -10,6 +10,7 @@ |
| #include "base/macros.h" |
| #include "base/memory/ref_counted.h" |
| #include "base/memory/weak_ptr.h" |
| +#include "chrome/common/prerender_types.h" |
| #include "content/public/browser/resource_request_info.h" |
| #include "content/public/browser/resource_throttle.h" |
| #include "content/public/common/resource_type.h" |
| @@ -83,7 +84,11 @@ class PrerenderResourceThrottle |
| const content::ResourceRequestInfo::WebContentsGetter& |
| web_contents_getter); |
| + // Sets the prerender mode. Must be called befor ResumeHandler(). |
|
clamy
2016/12/23 12:33:32
nit:s/befor/before
|
| + void SetPrerenderMode(PrerenderMode mode); |
| + |
| net::URLRequest* request_; |
| + int load_flags_; // Load flags to be OR'ed with the existing request flags. |
| scoped_refptr<PrerenderThrottleInfo> prerender_throttle_info_; |