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

Side by Side Diff: content/public/browser/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 CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // throttles. 57 // throttles.
58 virtual void RequestBeginning( 58 virtual void RequestBeginning(
59 net::URLRequest* request, 59 net::URLRequest* request,
60 ResourceContext* resource_context, 60 ResourceContext* resource_context,
61 appcache::AppCacheService* appcache_service, 61 appcache::AppCacheService* appcache_service,
62 ResourceType::Type resource_type, 62 ResourceType::Type resource_type,
63 int child_id, 63 int child_id,
64 int route_id, 64 int route_id,
65 ScopedVector<ResourceThrottle>* throttles); 65 ScopedVector<ResourceThrottle>* throttles);
66 66
67 // Called if a navigation request is transferred from one process to another.
68 virtual void WillTransferRequestToNewProcess(
69 int old_child_id,
70 int old_route_id,
71 int old_request_id,
72 int new_child_id,
73 int new_route_id,
74 int new_request_id);
75
76 // Allows an embedder to add additional resource handlers for a download. 67 // Allows an embedder to add additional resource handlers for a download.
77 // |must_download| is set if the request must be handled as a download. 68 // |must_download| is set if the request must be handled as a download.
78 virtual void DownloadStarting( 69 virtual void DownloadStarting(
79 net::URLRequest* request, 70 net::URLRequest* request,
80 ResourceContext* resource_context, 71 ResourceContext* resource_context,
81 int child_id, 72 int child_id,
82 int route_id, 73 int route_id,
83 int request_id, 74 int request_id,
84 bool is_content_initiated, 75 bool is_content_initiated,
85 bool must_download, 76 bool must_download,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 ResourceResponse* response); 135 ResourceResponse* response);
145 136
146 protected: 137 protected:
147 ResourceDispatcherHostDelegate(); 138 ResourceDispatcherHostDelegate();
148 virtual ~ResourceDispatcherHostDelegate(); 139 virtual ~ResourceDispatcherHostDelegate();
149 }; 140 };
150 141
151 } // namespace content 142 } // namespace content
152 143
153 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 144 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698