diff options
author | nasko <nasko@chromium.org> | 2014-08-28 10:07:43 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-28 17:08:45 +0000 |
commit | b8744d2cd9eac9af4cb16a83420e79f1684f06c2 (patch) | |
tree | 236227003e8700fda1078662107278f6f2747346 /content/browser/frame_host/navigation_controller_impl.cc | |
parent | 4bda9f96e6edbc4c208abde787c842f828f2f798 (diff) | |
download | chromium_src-b8744d2cd9eac9af4cb16a83420e79f1684f06c2.zip chromium_src-b8744d2cd9eac9af4cb16a83420e79f1684f06c2.tar.gz chromium_src-b8744d2cd9eac9af4cb16a83420e79f1684f06c2.tar.bz2 |
Add/improve tracing in navigation.
This CL adds tracing statement for the navigation functionality within Chrome and modifies some of the existing tracing already in place.
Review URL: https://codereview.chromium.org/498883002
Cr-Commit-Position: refs/heads/master@{#292406}
Diffstat (limited to 'content/browser/frame_host/navigation_controller_impl.cc')
-rw-r--r-- | content/browser/frame_host/navigation_controller_impl.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc index 7219831..c4f05fd 100644 --- a/content/browser/frame_host/navigation_controller_impl.cc +++ b/content/browser/frame_host/navigation_controller_impl.cc @@ -649,7 +649,9 @@ void NavigationControllerImpl::LoadURL( } void NavigationControllerImpl::LoadURLWithParams(const LoadURLParams& params) { - TRACE_EVENT0("browser", "NavigationControllerImpl::LoadURLWithParams"); + TRACE_EVENT1("browser,navigation", + "NavigationControllerImpl::LoadURLWithParams", + "url", params.url.possibly_invalid_spec()); if (HandleDebugURL(params.url, params.transition_type)) { // If Telemetry is running, allow the URL load to proceed as if it's // unhandled, otherwise Telemetry can't tell if Navigation completed. |