Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / components / url_matcher / url_matcher.cc
index 3798f7e..13a4896 100644 (file)
@@ -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();