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

Unified Diff: components/url_matcher/url_matcher.cc

Issue 597413004: Instrumenting URLMatcher matchers rebuilding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 6 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698