diff options
author | brettw <brettw@chromium.org> | 2015-07-06 15:09:00 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-06 22:10:42 +0000 |
commit | d97eede0d9eb25ebffc918c8ebfcf9a9d9703a88 (patch) | |
tree | e83dc87df21704e72e63423961e82b02244ac015 /extensions/shell/browser | |
parent | 7d47f7a394e09e1a6e3e546932051649f185d47e (diff) | |
download | chromium_src-d97eede0d9eb25ebffc918c8ebfcf9a9d9703a88.zip chromium_src-d97eede0d9eb25ebffc918c8ebfcf9a9d9703a88.tar.gz chromium_src-d97eede0d9eb25ebffc918c8ebfcf9a9d9703a88.tar.bz2 |
Move MatchPattern to its own header and the base namespace.
BUG=
Review URL: https://codereview.chromium.org/1226673003
Cr-Commit-Position: refs/heads/master@{#337488}
Diffstat (limited to 'extensions/shell/browser')
-rw-r--r-- | extensions/shell/browser/shell_nacl_browser_delegate_unittest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/shell/browser/shell_nacl_browser_delegate_unittest.cc b/extensions/shell/browser/shell_nacl_browser_delegate_unittest.cc index e42fb33..0e1d178 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 |