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 #include "content/browser/renderer_host/transfer_navigation_resource_throttle.h" | 5 #include "content/browser/renderer_host/transfer_navigation_resource_throttle.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "content/browser/renderer_host/render_view_host_delegate.h" |
8 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" | 9 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" |
9 #include "content/public/browser/content_browser_client.h" | 10 #include "content/public/browser/content_browser_client.h" |
10 #include "content/public/browser/global_request_id.h" | 11 #include "content/public/browser/global_request_id.h" |
11 #include "content/public/browser/render_view_host.h" | 12 #include "content/public/browser/render_view_host.h" |
12 #include "content/public/browser/render_view_host_delegate.h" | |
13 #include "content/public/browser/resource_request_info.h" | 13 #include "content/public/browser/resource_request_info.h" |
14 #include "content/public/common/referrer.h" | 14 #include "content/public/common/referrer.h" |
15 #include "net/url_request/url_request.h" | 15 #include "net/url_request/url_request.h" |
16 | 16 |
17 using content::GlobalRequestID; | 17 using content::GlobalRequestID; |
18 using content::Referrer; | 18 using content::Referrer; |
19 using content::RenderViewHostDelegate; | 19 using content::RenderViewHostDelegate; |
20 using content::ResourceDispatcherHostImpl; | 20 using content::ResourceDispatcherHostImpl; |
21 using content::ResourceRequestInfo; | 21 using content::ResourceRequestInfo; |
22 | 22 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 new_url, | 79 new_url, |
80 Referrer(GURL(request_->referrer()), info->GetReferrerPolicy()), | 80 Referrer(GURL(request_->referrer()), info->GetReferrerPolicy()), |
81 CURRENT_TAB, | 81 CURRENT_TAB, |
82 info->GetFrameID(), | 82 info->GetFrameID(), |
83 global_id)); | 83 global_id)); |
84 | 84 |
85 *defer = true; | 85 *defer = true; |
86 } | 86 } |
87 } | 87 } |
88 } | 88 } |
OLD | NEW |