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

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

Issue 8669014: Fix a bug where redirect chain gets lost on process swap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: conditional disabling Created 9 years 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) 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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698