Index: chrome/browser/geolocation/geolocation_permission_context_unittest.cc |
diff --git a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc |
index b31608a8283af2308d940ae9c19f30a089806068..57659c36752acd87c9c5a590742f0947c2aaa68c 100644 |
--- a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc |
+++ b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc |
@@ -184,7 +184,7 @@ TEST_F(GeolocationPermissionContextTests, QueuedPermission) { |
ConfirmInfoBarDelegate* infobar_0 = |
contents()->GetInfoBarDelegateAt(0)->AsConfirmInfoBarDelegate(); |
ASSERT_TRUE(infobar_0); |
- std::wstring text_0 = infobar_0->GetMessageText(); |
+ string16 text_0 = infobar_0->GetMessageText(); |
// Accept the first frame. |
infobar_0->Accept(); |
@@ -201,7 +201,7 @@ TEST_F(GeolocationPermissionContextTests, QueuedPermission) { |
ConfirmInfoBarDelegate* infobar_1 = |
contents()->GetInfoBarDelegateAt(0)->AsConfirmInfoBarDelegate(); |
ASSERT_TRUE(infobar_1); |
- std::wstring text_1 = infobar_1->GetMessageText(); |
+ string16 text_1 = infobar_1->GetMessageText(); |
EXPECT_NE(text_0, text_1); |
// Cancel (block) this frame. |
@@ -248,7 +248,7 @@ TEST_F(GeolocationPermissionContextTests, CancelGeolocationPermissionRequest) { |
ConfirmInfoBarDelegate* infobar_0 = |
contents()->GetInfoBarDelegateAt(0)->AsConfirmInfoBarDelegate(); |
ASSERT_TRUE(infobar_0); |
- std::wstring text_0 = infobar_0->GetMessageText(); |
+ string16 text_0 = infobar_0->GetMessageText(); |
// Simulate the frame going away, ensure the infobar for this frame |
// is removed and the next pending infobar is created. |
@@ -262,7 +262,7 @@ TEST_F(GeolocationPermissionContextTests, CancelGeolocationPermissionRequest) { |
ConfirmInfoBarDelegate* infobar_1 = |
contents()->GetInfoBarDelegateAt(0)->AsConfirmInfoBarDelegate(); |
ASSERT_TRUE(infobar_1); |
- std::wstring text_1 = infobar_1->GetMessageText(); |
+ string16 text_1 = infobar_1->GetMessageText(); |
EXPECT_NE(text_0, text_1); |
// Allow this frame. |