| 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_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/callback_forward.h" | 9 #include "base/callback_forward.h" |
| 10 #include "content/public/browser/download_id.h" | 10 #include "content/public/browser/download_id.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 ResourceContext* context, | 46 ResourceContext* context, |
| 47 int child_id, | 47 int child_id, |
| 48 int route_id, | 48 int route_id, |
| 49 bool prefer_cache, | 49 bool prefer_cache, |
| 50 const DownloadSaveInfo& save_info, | 50 const DownloadSaveInfo& save_info, |
| 51 const DownloadStartedCallback& started_callback) = 0; | 51 const DownloadStartedCallback& started_callback) = 0; |
| 52 | 52 |
| 53 // Clears the ResourceDispatcherHostLoginDelegate associated with the request. | 53 // Clears the ResourceDispatcherHostLoginDelegate associated with the request. |
| 54 virtual void ClearLoginDelegateForRequest(net::URLRequest* request) = 0; | 54 virtual void ClearLoginDelegateForRequest(net::URLRequest* request) = 0; |
| 55 | 55 |
| 56 // Marks the request as "parked". This happens if a request is | |
| 57 // redirected cross-site and needs to be resumed by a new render view. | |
| 58 virtual void MarkAsTransferredNavigation(net::URLRequest* request) = 0; | |
| 59 | |
| 60 protected: | 56 protected: |
| 61 virtual ~ResourceDispatcherHost() {} | 57 virtual ~ResourceDispatcherHost() {} |
| 62 }; | 58 }; |
| 63 | 59 |
| 64 } // namespace content | 60 } // namespace content |
| 65 | 61 |
| 66 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_ | 62 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_ |
| OLD | NEW |