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

Unified Diff: chrome/common/trace_event_args_whitelist.cc

Issue 1226673003: Move MatchPattern to its own header and the base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ('k') | chrome_elf/elf_imports_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/trace_event_args_whitelist.cc
diff --git a/chrome/common/trace_event_args_whitelist.cc b/chrome/common/trace_event_args_whitelist.cc
index cf1b4a98cd679c8a30d14834f00f3493155cd16f..77bb5ccec4ad136531281c661b2637c1572650e8 100644
--- a/chrome/common/trace_event_args_whitelist.cc
+++ b/chrome/common/trace_event_args_whitelist.cc
@@ -4,6 +4,7 @@
#include "chrome/common/trace_event_args_whitelist.h"
+#include "base/strings/pattern.h"
#include "base/strings/string_tokenizer.h"
#include "base/strings/string_util.h"
@@ -25,9 +26,9 @@ bool IsTraceEventArgsWhitelisted(const char* category_group_name,
for (int i = 0; kEventArgsWhitelist[i][0] != NULL; ++i) {
DCHECK(kEventArgsWhitelist[i][1]);
- if (MatchPattern(category_group_token.c_str(),
- kEventArgsWhitelist[i][0]) &&
- MatchPattern(event_name, kEventArgsWhitelist[i][1])) {
+ if (base::MatchPattern(category_group_token.c_str(),
+ kEventArgsWhitelist[i][0]) &&
+ base::MatchPattern(event_name, kEventArgsWhitelist[i][1])) {
return true;
}
}
« no previous file with comments | « chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ('k') | chrome_elf/elf_imports_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698