Index: components/url_matcher/url_matcher.cc |
diff --git a/components/url_matcher/url_matcher.cc b/components/url_matcher/url_matcher.cc |
index 3798f7ebcfde1d6ebd90df41a7d2f496e4390e38..13a4896e20f259a8c4aeb1d24d50ede9ebdffe58 100644 |
--- a/components/url_matcher/url_matcher.cc |
+++ b/components/url_matcher/url_matcher.cc |
@@ -8,6 +8,7 @@ |
#include <iterator> |
#include "base/logging.h" |
+#include "base/profiler/scoped_profile.h" |
#include "url/gurl.h" |
#include "url/url_canon.h" |
@@ -1081,6 +1082,10 @@ void URLMatcher::UpdateConditionFactory() { |
} |
void URLMatcher::UpdateInternalDatastructures() { |
+ // TODO(vadimt): Remove ScopedProfile below once crbug.com/417106 is fixed. |
+ tracked_objects::ScopedProfile tracking_profile( |
+ FROM_HERE_WITH_EXPLICIT_FUNCTION( |
+ "URLMatcher_UpdateInternalDatastructures")); |
UpdateSubstringSetMatcher(false); |
UpdateSubstringSetMatcher(true); |
UpdateRegexSetMatcher(); |