Index: google_apis/gaia/identity_provider.cc |
diff --git a/google_apis/gaia/identity_provider.cc b/google_apis/gaia/identity_provider.cc |
index 842891e67f37d4f3600756806c9250abfcfb00b9..73abe2a8a5441652dc64346c710ae2578cf9bc88 100644 |
--- a/google_apis/gaia/identity_provider.cc |
+++ b/google_apis/gaia/identity_provider.cc |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "base/profiler/scoped_profile.h" |
#include "google_apis/gaia/identity_provider.h" |
IdentityProvider::Observer::~Observer() {} |
@@ -39,6 +40,11 @@ void IdentityProvider::RemoveObserver(Observer* observer) { |
} |
void IdentityProvider::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 IdentityProvider::OnRefreshTokenAvailable")); |
+ |
if (account_id != GetActiveAccountId()) |
return; |
FOR_EACH_OBSERVER(OAuth2TokenService::Observer, |