Index: components/keyed_service/core/keyed_service_base_factory.cc |
diff --git a/components/keyed_service/core/keyed_service_base_factory.cc b/components/keyed_service/core/keyed_service_base_factory.cc |
index ddaf49740d6807c3568ffcac43557da6204e724b..7157c0eb234e99fcdf7e91d5ec8f3885c7d7feab 100644 |
--- a/components/keyed_service/core/keyed_service_base_factory.cc |
+++ b/components/keyed_service/core/keyed_service_base_factory.cc |
@@ -6,10 +6,13 @@ |
#include "base/prefs/pref_service.h" |
#include "base/supports_user_data.h" |
+#include "base/trace_event/trace_event.h" |
#include "components/keyed_service/core/dependency_manager.h" |
void KeyedServiceBaseFactory::RegisterUserPrefsOnContextForTest( |
base::SupportsUserData* context) { |
+ TRACE_EVENT0("browser,startup", |
+ "KeyedServiceBaseFactory::RegisterUserPrefsOnContextForTest"); |
// Safe timing for pref registration is hard. Previously, we made |
// context responsible for all pref registration on every service |
// that used contexts. Now we don't and there are timing issues. |