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

Side by Side Diff: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h

Issue 141163002: Make PrerenderTracker's resource_throttle_io_thread_map_ use RenderFrame IDs instead of RenderView … (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: simplify code Created 6 years, 11 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 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 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 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 ResourceType::Type resource_type, 45 ResourceType::Type resource_type,
46 content::ResourceContext* resource_context) OVERRIDE; 46 content::ResourceContext* resource_context) OVERRIDE;
47 virtual void RequestBeginning( 47 virtual void RequestBeginning(
48 net::URLRequest* request, 48 net::URLRequest* request,
49 content::ResourceContext* resource_context, 49 content::ResourceContext* resource_context,
50 appcache::AppCacheService* appcache_service, 50 appcache::AppCacheService* appcache_service,
51 ResourceType::Type resource_type, 51 ResourceType::Type resource_type,
52 int child_id, 52 int child_id,
53 int route_id, 53 int route_id,
54 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; 54 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE;
55 virtual void WillTransferRequestToNewProcess(
56 int old_child_id,
57 int old_route_id,
58 int old_request_id,
59 int new_child_id,
60 int new_route_id,
61 int new_request_id) OVERRIDE;
62 virtual void DownloadStarting( 55 virtual void DownloadStarting(
63 net::URLRequest* request, 56 net::URLRequest* request,
64 content::ResourceContext* resource_context, 57 content::ResourceContext* resource_context,
65 int child_id, 58 int child_id,
66 int route_id, 59 int route_id,
67 int request_id, 60 int request_id,
68 bool is_content_initiated, 61 bool is_content_initiated,
69 bool must_download, 62 bool must_download,
70 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; 63 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE;
71 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( 64 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 122
130 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; 123 scoped_refptr<DownloadRequestLimiter> download_request_limiter_;
131 scoped_refptr<SafeBrowsingService> safe_browsing_; 124 scoped_refptr<SafeBrowsingService> safe_browsing_;
132 scoped_refptr<extensions::UserScriptListener> user_script_listener_; 125 scoped_refptr<extensions::UserScriptListener> user_script_listener_;
133 prerender::PrerenderTracker* prerender_tracker_; 126 prerender::PrerenderTracker* prerender_tracker_;
134 127
135 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); 128 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate);
136 }; 129 };
137 130
138 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_ 131 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698