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

Side by Side Diff: content/public/browser/resource_dispatcher_host_delegate.h

Issue 10827103: Speculative resource prefetching - fixing missing navigations due to server side redirects. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressing James's comments. Created 8 years, 4 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
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 // Informs the delegate that a response has started. 103 // Informs the delegate that a response has started.
104 virtual void OnResponseStarted( 104 virtual void OnResponseStarted(
105 net::URLRequest* request, 105 net::URLRequest* request,
106 ResourceContext* resource_context, 106 ResourceContext* resource_context,
107 ResourceResponse* response, 107 ResourceResponse* response,
108 IPC::Sender* sender); 108 IPC::Sender* sender);
109 109
110 // Informs the delegate that a request has been redirected. 110 // Informs the delegate that a request has been redirected.
111 virtual void OnRequestRedirected( 111 virtual void OnRequestRedirected(
112 const GURL& redirect_url,
112 net::URLRequest* request, 113 net::URLRequest* request,
113 ResourceContext* resource_context, 114 ResourceContext* resource_context,
114 ResourceResponse* response); 115 ResourceResponse* response);
115 116
116 protected: 117 protected:
117 ResourceDispatcherHostDelegate(); 118 ResourceDispatcherHostDelegate();
118 virtual ~ResourceDispatcherHostDelegate(); 119 virtual ~ResourceDispatcherHostDelegate();
119 }; 120 };
120 121
121 } // namespace content 122 } // namespace content
122 123
123 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 124 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/sync_resource_handler.cc ('k') | content/public/browser/resource_dispatcher_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698