Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(611)

Unified Diff: content/browser/loader/navigation_resource_handler.cc

Issue 1569673002: [NOT FOR LANDING] Detailed loading traces Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/loader/navigation_resource_handler.cc
diff --git a/content/browser/loader/navigation_resource_handler.cc b/content/browser/loader/navigation_resource_handler.cc
index 94e046dbf0c74bf8044e6cd93484c3cab38563fa..a9dc3c8dd2edb96041e820914efb2de42e30319e 100644
--- a/content/browser/loader/navigation_resource_handler.cc
+++ b/content/browser/loader/navigation_resource_handler.cc
@@ -4,6 +4,7 @@
#include "content/browser/loader/navigation_resource_handler.h"
+#include "base/trace_event/trace_event.h"
#include "base/logging.h"
#include "content/browser/devtools/devtools_netlog_observer.h"
#include "content/browser/loader/navigation_url_loader_impl_core.h"
@@ -29,6 +30,9 @@ NavigationResourceHandler::NavigationResourceHandler(
}
NavigationResourceHandler::~NavigationResourceHandler() {
+ TRACE_EVENT0("toplevel",
+ "NavigationResourceHandler::~NavigationResourceHandler");
+
if (core_) {
core_->NotifyRequestFailed(false, net::ERR_ABORTED);
DetachFromCore();
« no previous file with comments | « content/browser/loader/mime_type_resource_handler.cc ('k') | content/browser/loader/redirect_to_file_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698