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

Unified Diff: content/test/image_decoder_test.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 | « content/common/appcache_interfaces.cc ('k') | device/serial/serial_device_enumerator_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/image_decoder_test.cc
diff --git a/content/test/image_decoder_test.cc b/content/test/image_decoder_test.cc
index 5e9886ec106d409b742b2c76ed5c32c612f4bce4..3861f38bc46c41eadbe6ff9b200c91f60861a363 100644
--- a/content/test/image_decoder_test.cc
+++ b/content/test/image_decoder_test.cc
@@ -10,6 +10,7 @@
#include "base/md5.h"
#include "base/memory/scoped_ptr.h"
#include "base/path_service.h"
+#include "base/strings/pattern.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "third_party/WebKit/public/platform/WebData.h"
@@ -132,7 +133,7 @@ std::vector<base::FilePath> ImageDecoderTest::GetImageFiles() const {
#else
std::string base_name_ascii = base_name.value();
#endif
- if (MatchPattern(base_name_ascii, pattern))
+ if (base::MatchPattern(base_name_ascii, pattern))
image_files.push_back(next_file_name);
}
« no previous file with comments | « content/common/appcache_interfaces.cc ('k') | device/serial/serial_device_enumerator_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698