OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/frame_host/render_frame_host_impl.h" | 5 #include "content/browser/frame_host/render_frame_host_impl.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 2578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2589 | 2589 |
2590 TRACE_EVENT_ASYNC_END0("navigation", | 2590 TRACE_EVENT_ASYNC_END0("navigation", |
2591 "RenderFrameHostImpl navigation suspended", this); | 2591 "RenderFrameHostImpl navigation suspended", this); |
2592 navigations_suspended_ = false; | 2592 navigations_suspended_ = false; |
2593 } | 2593 } |
2594 | 2594 |
2595 void RenderFrameHostImpl::SendNavigateMessage( | 2595 void RenderFrameHostImpl::SendNavigateMessage( |
2596 const CommonNavigationParams& common_params, | 2596 const CommonNavigationParams& common_params, |
2597 const StartNavigationParams& start_params, | 2597 const StartNavigationParams& start_params, |
2598 const RequestNavigationParams& request_params) { | 2598 const RequestNavigationParams& request_params) { |
| 2599 // DO NOT SUBMIT |
| 2600 LOG(ERROR) << "RenderFrameHostImpl::SendNavigateMessage" |
| 2601 << ": url=" << common_params.url |
| 2602 << ": method=" << common_params.method |
| 2603 << ": body=" << static_cast<bool>(start_params.post_data); |
| 2604 |
2599 RenderFrameDevToolsAgentHost::OnBeforeNavigation( | 2605 RenderFrameDevToolsAgentHost::OnBeforeNavigation( |
2600 frame_tree_node_->current_frame_host(), this); | 2606 frame_tree_node_->current_frame_host(), this); |
2601 Send(new FrameMsg_Navigate( | 2607 Send(new FrameMsg_Navigate( |
2602 routing_id_, common_params, start_params, request_params)); | 2608 routing_id_, common_params, start_params, request_params)); |
2603 } | 2609 } |
2604 | 2610 |
2605 void RenderFrameHostImpl::DidUseGeolocationPermission() { | 2611 void RenderFrameHostImpl::DidUseGeolocationPermission() { |
2606 PermissionManager* permission_manager = | 2612 PermissionManager* permission_manager = |
2607 GetSiteInstance()->GetBrowserContext()->GetPermissionManager(); | 2613 GetSiteInstance()->GetBrowserContext()->GetPermissionManager(); |
2608 if (!permission_manager) | 2614 if (!permission_manager) |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2764 // handler after it's destroyed so it can't run after the RFHI is destroyed. | 2770 // handler after it's destroyed so it can't run after the RFHI is destroyed. |
2765 web_bluetooth_service_->SetClientConnectionErrorHandler(base::Bind( | 2771 web_bluetooth_service_->SetClientConnectionErrorHandler(base::Bind( |
2766 &RenderFrameHostImpl::DeleteWebBluetoothService, base::Unretained(this))); | 2772 &RenderFrameHostImpl::DeleteWebBluetoothService, base::Unretained(this))); |
2767 } | 2773 } |
2768 | 2774 |
2769 void RenderFrameHostImpl::DeleteWebBluetoothService() { | 2775 void RenderFrameHostImpl::DeleteWebBluetoothService() { |
2770 web_bluetooth_service_.reset(); | 2776 web_bluetooth_service_.reset(); |
2771 } | 2777 } |
2772 | 2778 |
2773 } // namespace content | 2779 } // namespace content |
OLD | NEW |