Index: chrome/browser/sync/profile_sync_service.cc |
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc |
index d726545a168ff29ff508b4abda7781604ba08716..72f7999c8bacbf526b7f512b0cb0b5e6c9a7b969 100644 |
--- a/chrome/browser/sync/profile_sync_service.cc |
+++ b/chrome/browser/sync/profile_sync_service.cc |
@@ -19,6 +19,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/message_loop/message_loop.h" |
#include "base/metrics/histogram.h" |
+#include "base/profiler/scoped_profile.h" |
#include "base/strings/string16.h" |
#include "base/strings/stringprintf.h" |
#include "base/threading/thread_restrictions.h" |
@@ -755,6 +756,11 @@ void ProfileSyncService::OnGetTokenFailure( |
void ProfileSyncService::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 ProfileSyncService::OnRefreshTokenAvailable")); |
+ |
if (account_id == signin_->GetAccountIdToUse()) |
OnRefreshTokensLoaded(); |
} |