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

Unified Diff: google_apis/gaia/account_tracker.cc

Issue 643183003: Adding instrumentation to locate the source of jankiness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « components/signin/core/browser/signin_account_id_helper.cc ('k') | google_apis/gaia/identity_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/account_tracker.cc
diff --git a/google_apis/gaia/account_tracker.cc b/google_apis/gaia/account_tracker.cc
index 50c4e7083fe1cdf4257be8703d80ec99e61df795..d6476b5c4d3cc43339546e039d039fd700a3bd24 100644
--- a/google_apis/gaia/account_tracker.cc
+++ b/google_apis/gaia/account_tracker.cc
@@ -6,6 +6,7 @@
#include "base/debug/trace_event.h"
#include "base/logging.h"
+#include "base/profiler/scoped_profile.h"
#include "base/stl_util.h"
#include "net/url_request/url_request_context_getter.h"
@@ -84,6 +85,11 @@ AccountIds AccountTracker::FindAccountIdsByGaiaId(const std::string& gaia_id) {
}
void AccountTracker::OnRefreshTokenAvailable(const std::string& account_id) {
+ // TODO(vadimt): Remove ScopedProfile below once crbug.com/422460 is fixed.
+ tracked_objects::ScopedProfile tracking_profile(
+ FROM_HERE_WITH_EXPLICIT_FUNCTION(
+ "422460 AccountTracker::OnRefreshTokenAvailable"));
+
TRACE_EVENT1("identity",
"AccountTracker::OnRefreshTokenAvailable",
"account_key",
« no previous file with comments | « components/signin/core/browser/signin_account_id_helper.cc ('k') | google_apis/gaia/identity_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698