| 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/download/download_request_handle.h" | 5 #include "content/browser/download/download_request_handle.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
| 9 #include "content/browser/frame_host/navigator.h" | 9 #include "content/browser/frame_host/navigator.h" |
| 10 #include "content/browser/frame_host/render_frame_host_impl.h" | 10 #include "content/browser/frame_host/render_frame_host_impl.h" |
| 11 #include "content/browser/renderer_host/render_view_host_impl.h" | 11 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 12 #include "content/browser/web_contents/web_contents_impl.h" | 12 #include "content/browser/web_contents/web_contents_impl.h" |
| 13 #include "content/public/browser/browser_context.h" | 13 #include "content/public/browser/browser_context.h" |
| 14 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
| 15 #include "content/public/common/browser_side_navigation_policy.h" | 15 #include "content/public/common/browser_side_navigation_policy.h" |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 | 18 |
| 19 DownloadRequestHandle::~DownloadRequestHandle() { | 19 DownloadRequestHandleInterface::~DownloadRequestHandleInterface() {} |
| 20 } | 20 |
| 21 DownloadRequestHandle::~DownloadRequestHandle() {} |
| 21 | 22 |
| 22 DownloadRequestHandle::DownloadRequestHandle() | 23 DownloadRequestHandle::DownloadRequestHandle() |
| 23 : child_id_(-1), | 24 : child_id_(-1), |
| 24 render_view_id_(-1), | 25 render_view_id_(-1), |
| 25 request_id_(-1), | 26 request_id_(-1), |
| 26 frame_tree_node_id_(-1) { | 27 frame_tree_node_id_(-1) { |
| 27 } | 28 } |
| 28 | 29 |
| 29 DownloadRequestHandle::DownloadRequestHandle( | 30 DownloadRequestHandle::DownloadRequestHandle( |
| 30 const base::WeakPtr<DownloadResourceHandler>& handler, | 31 const base::WeakPtr<DownloadResourceHandler>& handler, |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 " child_id = %d" | 114 " child_id = %d" |
| 114 " render_view_id = %d" | 115 " render_view_id = %d" |
| 115 " request_id = %d" | 116 " request_id = %d" |
| 116 "}", | 117 "}", |
| 117 child_id_, | 118 child_id_, |
| 118 render_view_id_, | 119 render_view_id_, |
| 119 request_id_); | 120 request_id_); |
| 120 } | 121 } |
| 121 | 122 |
| 122 } // namespace content | 123 } // namespace content |
| OLD | NEW |