| OLD | NEW |
| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 ResourceResponse* response, | 127 ResourceResponse* response, |
| 128 IPC::Sender* sender); | 128 IPC::Sender* sender); |
| 129 | 129 |
| 130 // Informs the delegate that a request has been redirected. | 130 // Informs the delegate that a request has been redirected. |
| 131 virtual void OnRequestRedirected( | 131 virtual void OnRequestRedirected( |
| 132 const GURL& redirect_url, | 132 const GURL& redirect_url, |
| 133 net::URLRequest* request, | 133 net::URLRequest* request, |
| 134 ResourceContext* resource_context, | 134 ResourceContext* resource_context, |
| 135 ResourceResponse* response); | 135 ResourceResponse* response); |
| 136 | 136 |
| 137 // Notification that a request has completed. |
| 138 virtual void RequestComplete(net::URLRequest* url_request, |
| 139 int render_process_id, |
| 140 int render_view_id); |
| 141 |
| 137 protected: | 142 protected: |
| 138 ResourceDispatcherHostDelegate(); | 143 ResourceDispatcherHostDelegate(); |
| 139 virtual ~ResourceDispatcherHostDelegate(); | 144 virtual ~ResourceDispatcherHostDelegate(); |
| 140 }; | 145 }; |
| 141 | 146 |
| 142 } // namespace content | 147 } // namespace content |
| 143 | 148 |
| 144 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ | 149 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ |
| OLD | NEW |