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

Unified Diff: components/signin/core/browser/signin_account_id_helper.cc

Issue 686963002: Switching profiler instrumentations from ScopedProfile to ScopedTracker (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
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 a4c7ab8eb8e9d39878151e2a06cc45e69f77bb00..52dab783d78f59769511e7b984b8f788ed4c35fc 100644
--- a/components/signin/core/browser/signin_account_id_helper.cc
+++ b/components/signin/core/browser/signin_account_id_helper.cc
@@ -5,7 +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 "base/profiler/scoped_tracker.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"
@@ -137,8 +137,8 @@ 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(
+ // TODO(vadimt): Remove ScopedTracker below once crbug.com/422460 is fixed.
+ tracked_objects::ScopedTracker tracking_profile(
FROM_HERE_WITH_EXPLICIT_FUNCTION(
"422460 SigninAccountIdHelper::OnRefreshTokenAvailable"));

Powered by Google App Engine
This is Rietveld 408576698