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/common | |
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/common')
-rw-r--r-- | extensions/shell/common/shell_content_client_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/shell/common/shell_content_client_unittest.cc b/extensions/shell/common/shell_content_client_unittest.cc index bf5779f..eb9694d 100644 --- a/extensions/shell/common/shell_content_client_unittest.cc +++ b/extensions/shell/common/shell_content_client_unittest.cc @@ -6,6 +6,7 @@ #include <string> +#include "base/strings/pattern.h" #include "base/strings/string_util.h" #include "testing/gtest/include/gtest/gtest.h" @@ -23,7 +24,7 @@ TEST_F(ShellContentClientTest, UserAgentFormat) { << user_agent; // Must contain a substring like "Chrome/1.2.3.4". - EXPECT_TRUE(MatchPattern(user_agent, "*Chrome/*.*.*.*")) << user_agent; + EXPECT_TRUE(base::MatchPattern(user_agent, "*Chrome/*.*.*.*")) << user_agent; } } // namespace extensions |