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

Unified Diff: extensions/shell/browser/shell_nacl_browser_delegate_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 | « extensions/common/user_script.cc ('k') | extensions/shell/common/shell_content_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/browser/shell_nacl_browser_delegate_unittest.cc
diff --git a/extensions/shell/browser/shell_nacl_browser_delegate_unittest.cc b/extensions/shell/browser/shell_nacl_browser_delegate_unittest.cc
index e42fb330490af505b69afe2fa994637ed8f9dc55..0e1d17846cbe823ab1a497fb798f9fdf2d3651d0 100644
--- a/extensions/shell/browser/shell_nacl_browser_delegate_unittest.cc
+++ b/extensions/shell/browser/shell_nacl_browser_delegate_unittest.cc
@@ -4,6 +4,7 @@
#include "extensions/shell/browser/shell_nacl_browser_delegate.h"
+#include "base/strings/pattern.h"
#include "base/strings/string_util.h"
#include "content/public/test/test_browser_context.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -19,8 +20,8 @@ TEST_F(ShellNaClBrowserDelegateTest, VersionString) {
// Version should look like "1.2.3.4 (5)".
std::string version = delegate.GetVersionString();
- EXPECT_TRUE(MatchPattern(version, "*.*.*.* (*)")) << "bad version "
- << version;
+ EXPECT_TRUE(base::MatchPattern(version, "*.*.*.* (*)")) << "bad version "
+ << version;
}
} // namespace extensions
« no previous file with comments | « extensions/common/user_script.cc ('k') | extensions/shell/common/shell_content_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698