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

Unified Diff: components/keyed_service/content/browser_context_dependency_manager.cc

Issue 937713003: Add several new TRACE call and UMA metrics for GetProfile() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: noms comment p2 Created 5 years, 10 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/keyed_service/content/browser_context_dependency_manager.cc
diff --git a/components/keyed_service/content/browser_context_dependency_manager.cc b/components/keyed_service/content/browser_context_dependency_manager.cc
index 7e00023aab4e6307ee3841eaec7ea06dff44e27b..cc112d39ff7790d5af897d915ffa5a03d59db9b7 100644
--- a/components/keyed_service/content/browser_context_dependency_manager.cc
+++ b/components/keyed_service/content/browser_context_dependency_manager.cc
@@ -21,6 +21,9 @@ const char kDumpBrowserContextDependencyGraphFlag[] =
void BrowserContextDependencyManager::RegisterProfilePrefsForServices(
const content::BrowserContext* context,
user_prefs::PrefRegistrySyncable* pref_registry) {
+ TRACE_EVENT0(
+ "browser",
+ "BrowserContextDependencyManager::RegisterProfilePrefsForServices");
RegisterPrefsForServices(context, pref_registry);
}

Powered by Google App Engine
This is Rietveld 408576698