Index: chrome/browser/extensions/api/sessions/sessions_apitest.cc |
diff --git a/chrome/browser/extensions/api/sessions/sessions_apitest.cc b/chrome/browser/extensions/api/sessions/sessions_apitest.cc |
index ccf77bcecfde4914f5732f9c3e429d58d3303001..90ebba80a6259eb86377a3700d4270ba8aed71a8 100644 |
--- a/chrome/browser/extensions/api/sessions/sessions_apitest.cc |
+++ b/chrome/browser/extensions/api/sessions/sessions_apitest.cc |
@@ -6,6 +6,7 @@ |
#include "base/command_line.h" |
#include "base/path_service.h" |
+#include "base/strings/pattern.h" |
#include "base/strings/stringprintf.h" |
#include "chrome/browser/extensions/api/tabs/tabs_api.h" |
#include "chrome/browser/extensions/extension_apitest.h" |
@@ -347,7 +348,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionSessionsTest, |
IN_PROC_BROWSER_TEST_F(ExtensionSessionsTest, RestoreForeignSessionInvalidId) { |
CreateSessionModels(); |
- EXPECT_TRUE(MatchPattern(utils::RunFunctionAndReturnError( |
+ EXPECT_TRUE(base::MatchPattern(utils::RunFunctionAndReturnError( |
CreateFunction<SessionsRestoreFunction>(true).get(), |
"[\"tag3.0\"]", |
browser_), "Invalid session id: \"tag3.0\".")); |
@@ -356,7 +357,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionSessionsTest, RestoreForeignSessionInvalidId) { |
IN_PROC_BROWSER_TEST_F(ExtensionSessionsTest, RestoreInIncognito) { |
CreateSessionModels(); |
- EXPECT_TRUE(MatchPattern(utils::RunFunctionAndReturnError( |
+ EXPECT_TRUE(base::MatchPattern(utils::RunFunctionAndReturnError( |
CreateFunction<SessionsRestoreFunction>(true).get(), |
"[\"1\"]", |
CreateIncognitoBrowser()), |