Index: google_apis/gaia/account_tracker.cc |
diff --git a/google_apis/gaia/account_tracker.cc b/google_apis/gaia/account_tracker.cc |
index b134fc09eea6290eb0e730a2613cbcb15267dd6f..1c29ee6e6445c5f2bb96b9e63e763b6b27d2ba19 100644 |
--- a/google_apis/gaia/account_tracker.cc |
+++ b/google_apis/gaia/account_tracker.cc |
@@ -6,7 +6,7 @@ |
#include "base/debug/trace_event.h" |
#include "base/logging.h" |
-#include "base/profiler/scoped_profile.h" |
+#include "base/profiler/scoped_tracker.h" |
#include "base/stl_util.h" |
#include "net/url_request/url_request_context_getter.h" |
@@ -85,8 +85,8 @@ 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( |
+ // TODO(vadimt): Remove ScopedTracker below once crbug.com/422460 is fixed. |
+ tracked_objects::ScopedTracker tracking_profile( |
FROM_HERE_WITH_EXPLICIT_FUNCTION( |
"422460 AccountTracker::OnRefreshTokenAvailable")); |
@@ -164,8 +164,8 @@ void AccountTracker::NotifyAccountRemoved(const AccountState& account) { |
} |
void AccountTracker::NotifySignInChanged(const AccountState& account) { |
- // TODO(vadimt): Remove ScopedProfile below once crbug.com/422460 is fixed. |
- tracked_objects::ScopedProfile tracking_profile( |
+ // TODO(vadimt): Remove ScopedTracker below once crbug.com/422460 is fixed. |
+ tracked_objects::ScopedTracker tracking_profile( |
FROM_HERE_WITH_EXPLICIT_FUNCTION( |
"422460 AccountTracker::NotifySignInChanged")); |
@@ -177,7 +177,7 @@ void AccountTracker::NotifySignInChanged(const AccountState& account) { |
void AccountTracker::UpdateSignInState(const std::string account_key, |
bool is_signed_in) { |
- tracked_objects::ScopedProfile tracking_profile( |
+ tracked_objects::ScopedTracker tracking_profile( |
FROM_HERE_WITH_EXPLICIT_FUNCTION( |
"422460 AccountTracker::UpdateSignInState")); |
@@ -195,8 +195,8 @@ void AccountTracker::UpdateSignInState(const std::string account_key, |
} |
void AccountTracker::StartTrackingAccount(const std::string account_key) { |
- // TODO(vadimt): Remove ScopedProfile below once crbug.com/422460 is fixed. |
- tracked_objects::ScopedProfile tracking_profile( |
+ // TODO(vadimt): Remove ScopedTracker below once crbug.com/422460 is fixed. |
+ tracked_objects::ScopedTracker tracking_profile( |
FROM_HERE_WITH_EXPLICIT_FUNCTION( |
"422460 AccountTracker::StartTrackingAccount")); |
@@ -231,8 +231,8 @@ void AccountTracker::StopTrackingAllAccounts() { |
} |
void AccountTracker::StartFetchingUserInfo(const std::string account_key) { |
- // TODO(vadimt): Remove ScopedProfile below once crbug.com/422460 is fixed. |
- tracked_objects::ScopedProfile tracking_profile( |
+ // TODO(vadimt): Remove ScopedTracker below once crbug.com/422460 is fixed. |
+ tracked_objects::ScopedTracker tracking_profile( |
FROM_HERE_WITH_EXPLICIT_FUNCTION( |
"422460 AccountTracker::StartFetchingUserInfo")); |