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

Unified Diff: net/base/network_delegate.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
« no previous file with comments | « net/base/load_timing_info.cc ('k') | net/cert/x509_certificate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_delegate.cc
diff --git a/net/base/network_delegate.cc b/net/base/network_delegate.cc
index 8c23a5329424896f7e637312a22a113f6759d9cd..5d37c92dec8fe4f923dd1b4e87687160aa6ec310 100644
--- a/net/base/network_delegate.cc
+++ b/net/base/network_delegate.cc
@@ -4,6 +4,7 @@
#include "net/base/network_delegate.h"
+#include "base/trace_event/trace_event.h"
#include "base/logging.h"
#include "base/profiler/scoped_tracker.h"
#include "net/base/load_flags.h"
@@ -125,6 +126,7 @@ NetworkDelegate::AuthRequiredResponse NetworkDelegate::NotifyAuthRequired(
bool NetworkDelegate::CanGetCookies(const URLRequest& request,
const CookieList& cookie_list) {
+ TRACE_EVENT0("toplevel", "NetworkDelegate::CanGetCookies");
DCHECK(CalledOnValidThread());
DCHECK(!(request.load_flags() & LOAD_DO_NOT_SEND_COOKIES));
return OnCanGetCookies(request, cookie_list);
« no previous file with comments | « net/base/load_timing_info.cc ('k') | net/cert/x509_certificate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698