OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 const GURL& url, | 40 const GURL& url, |
41 ResourceType::Type resource_type, | 41 ResourceType::Type resource_type, |
42 const content::ResourceContext& resource_context, | 42 const content::ResourceContext& resource_context, |
43 const GURL& referrer) OVERRIDE; | 43 const GURL& referrer) OVERRIDE; |
44 virtual ResourceHandler* RequestBeginning( | 44 virtual ResourceHandler* RequestBeginning( |
45 ResourceHandler* handler, | 45 ResourceHandler* handler, |
46 net::URLRequest* request, | 46 net::URLRequest* request, |
47 const content::ResourceContext& resource_context, | 47 const content::ResourceContext& resource_context, |
48 bool is_subresource, | 48 bool is_subresource, |
49 int child_id, | 49 int child_id, |
50 int route_id) OVERRIDE; | 50 int route_id, |
| 51 bool is_continuation_of_transferred_request) OVERRIDE; |
51 virtual ResourceHandler* DownloadStarting( | 52 virtual ResourceHandler* DownloadStarting( |
52 ResourceHandler* handler, | 53 ResourceHandler* handler, |
53 const content::ResourceContext& resource_context, | 54 const content::ResourceContext& resource_context, |
54 net::URLRequest* request, | 55 net::URLRequest* request, |
55 int child_id, | 56 int child_id, |
56 int route_id, | 57 int route_id, |
57 int request_id, | 58 int request_id, |
58 bool is_new_request, | 59 bool is_new_request, |
59 bool in_complete) OVERRIDE; | 60 bool in_complete) OVERRIDE; |
60 virtual bool ShouldDeferStart( | 61 virtual bool ShouldDeferStart( |
(...skipping 26 matching lines...) Expand all Loading... |
87 | 88 |
88 ResourceDispatcherHost* resource_dispatcher_host_; | 89 ResourceDispatcherHost* resource_dispatcher_host_; |
89 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; | 90 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; |
90 scoped_refptr<SafeBrowsingService> safe_browsing_; | 91 scoped_refptr<SafeBrowsingService> safe_browsing_; |
91 prerender::PrerenderTracker* prerender_tracker_; | 92 prerender::PrerenderTracker* prerender_tracker_; |
92 | 93 |
93 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); | 94 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); |
94 }; | 95 }; |
95 | 96 |
96 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ | 97 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ |
OLD | NEW |