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

Unified Diff: chrome_elf/elf_imports_unittest.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/common/trace_event_args_whitelist.cc ('k') | components/domain_reliability/config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/elf_imports_unittest.cc
diff --git a/chrome_elf/elf_imports_unittest.cc b/chrome_elf/elf_imports_unittest.cc
index dda1bb122df5dace48a4976830e665ab88d9df89..941c6414ca0fc6c2b63e8e748459898804f0ea19 100644
--- a/chrome_elf/elf_imports_unittest.cc
+++ b/chrome_elf/elf_imports_unittest.cc
@@ -14,6 +14,7 @@
#include "base/files/file_path.h"
#include "base/files/memory_mapped_file.h"
#include "base/path_service.h"
+#include "base/strings/pattern.h"
#include "base/strings/string_util.h"
#include "base/win/pe_image.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -76,7 +77,7 @@ TEST_F(ELFImportsTest, ChromeElfSanityCheck) {
for (; it != elf_imports.end(); it++) {
bool match = false;
for (int i = 0; i < arraysize(kValidFilePatterns); ++i) {
- if (MatchPattern(*it, kValidFilePatterns[i]))
+ if (base::MatchPattern(*it, kValidFilePatterns[i]))
match = true;
}
ASSERT_TRUE(match) << "Illegal import in chrome_elf.dll: " << *it;
« no previous file with comments | « chrome/common/trace_event_args_whitelist.cc ('k') | components/domain_reliability/config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698