Index: components/signin/core/browser/signin_account_id_helper.cc |
diff --git a/components/signin/core/browser/signin_account_id_helper.cc b/components/signin/core/browser/signin_account_id_helper.cc |
index 57a69b21c8e3814dd1e43e8d8ae2a5fcd398e227..8570e11fcc31ec9f784f5726d2a6efef9c911e0b 100644 |
--- a/components/signin/core/browser/signin_account_id_helper.cc |
+++ b/components/signin/core/browser/signin_account_id_helper.cc |
@@ -5,6 +5,7 @@ |
#include "components/signin/core/browser/signin_account_id_helper.h" |
#include "base/prefs/pref_service.h" |
+#include "base/profiler/scoped_profile.h" |
#include "components/signin/core/browser/profile_oauth2_token_service.h" |
#include "components/signin/core/browser/signin_client.h" |
#include "components/signin/core/common/signin_pref_names.h" |
@@ -136,6 +137,11 @@ void SigninAccountIdHelper::GoogleSignedOut(const std::string& account_id, |
void SigninAccountIdHelper::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 SigninAccountIdHelper::OnRefreshTokenAvailable")); |
+ |
if (account_id == signin_manager_->GetAuthenticatedAccountId()) { |
std::string current_gaia_id = |
client_->GetPrefs()->GetString(prefs::kGoogleServicesUserAccountId); |