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

Unified Diff: content/browser/frame_host/render_frame_host_manager_unittest.cc

Issue 121033002: Update uses of UTF conversions in content/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: content/browser/frame_host/render_frame_host_manager_unittest.cc
diff --git a/content/browser/frame_host/render_frame_host_manager_unittest.cc b/content/browser/frame_host/render_frame_host_manager_unittest.cc
index 630262cc60a2905bf21a63506ac45cc9ca25125d..214c62d4a33f79d27d6833a77debf113d1bdf4e5 100644
--- a/content/browser/frame_host/render_frame_host_manager_unittest.cc
+++ b/content/browser/frame_host/render_frame_host_manager_unittest.cc
@@ -260,7 +260,7 @@ TEST_F(RenderFrameHostManagerTest, FilterMessagesWhileSwappedOut) {
contents()->GetRenderManagerForTesting()->current_host());
// Send an update title message and make sure it works.
- const base::string16 ntp_title = ASCIIToUTF16("NTP Title");
+ const base::string16 ntp_title = base::ASCIIToUTF16("NTP Title");
blink::WebTextDirection direction = blink::WebTextDirectionLeftToRight;
EXPECT_TRUE(ntp_rvh->OnMessageReceived(
ViewHostMsg_UpdateTitle(rvh()->GetRoutingID(), 0, ntp_title, direction)));
@@ -288,7 +288,7 @@ TEST_F(RenderFrameHostManagerTest, FilterMessagesWhileSwappedOut) {
dest_rvh->SendNavigate(101, kDestUrl);
// The new RVH should be able to update its title.
- const base::string16 dest_title = ASCIIToUTF16("Google");
+ const base::string16 dest_title = base::ASCIIToUTF16("Google");
EXPECT_TRUE(dest_rvh->OnMessageReceived(
ViewHostMsg_UpdateTitle(rvh()->GetRoutingID(), 101, dest_title,
direction)));
@@ -308,7 +308,7 @@ TEST_F(RenderFrameHostManagerTest, FilterMessagesWhileSwappedOut) {
MockRenderProcessHost* ntp_process_host =
static_cast<MockRenderProcessHost*>(ntp_rvh->GetProcess());
ntp_process_host->sink().ClearMessages();
- const base::string16 msg = ASCIIToUTF16("Message");
+ const base::string16 msg = base::ASCIIToUTF16("Message");
bool result = false;
base::string16 unused;
ViewHostMsg_RunBeforeUnloadConfirm before_unload_msg(

Powered by Google App Engine
This is Rietveld 408576698