summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/identity/web_auth_flow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/api/identity/web_auth_flow.cc')
-rw-r--r--chrome/browser/extensions/api/identity/web_auth_flow.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/extensions/api/identity/web_auth_flow.cc b/chrome/browser/extensions/api/identity/web_auth_flow.cc
index 0619381..fcba514 100644
--- a/chrome/browser/extensions/api/identity/web_auth_flow.cc
+++ b/chrome/browser/extensions/api/identity/web_auth_flow.cc
@@ -6,6 +6,7 @@
#include "apps/app_window.h"
#include "base/base64.h"
+#include "base/debug/trace_event.h"
#include "base/location.h"
#include "base/message_loop/message_loop.h"
#include "base/strings/string_util.h"
@@ -221,6 +222,12 @@ void WebAuthFlow::DidFailProvisionalLoad(
const GURL& validated_url,
int error_code,
const base::string16& error_description) {
+ TRACE_EVENT_ASYNC_STEP_PAST1("identity",
+ "WebAuthFlow",
+ this,
+ "DidFailProvisionalLoad",
+ "error_code",
+ error_code);
if (delegate_)
delegate_->OnAuthFlowFailure(LOAD_FAILED);
}