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

Unified Diff: chrome_frame/test/http_negotiate_unittest.cc

Issue 112433004: Update uses of UTF conversions in chrome_frame/, chromeos/, components/ 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
« no previous file with comments | « chrome_frame/test/header_test.cc ('k') | chrome_frame/test/ie_event_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/http_negotiate_unittest.cc
diff --git a/chrome_frame/test/http_negotiate_unittest.cc b/chrome_frame/test/http_negotiate_unittest.cc
index c61491d2a5c9fb90bcfff03ae8027edd5cfe7d95..c726811d3acffaea16ba7fdb472eaccd943686ce 100644
--- a/chrome_frame/test/http_negotiate_unittest.cc
+++ b/chrome_frame/test/http_negotiate_unittest.cc
@@ -68,8 +68,9 @@ TEST_F(HttpNegotiateTest, BeginningTransaction) {
&test_http)))[kBeginningTransactionIndex]);
base::string16 cf_ua(
- ASCIIToWide(http_utils::GetDefaultUserAgentHeaderWithCFTag()));
- base::string16 cf_tag(ASCIIToWide(http_utils::GetChromeFrameUserAgent()));
+ base::ASCIIToWide(http_utils::GetDefaultUserAgentHeaderWithCFTag()));
+ base::string16 cf_tag(
+ base::ASCIIToWide(http_utils::GetChromeFrameUserAgent()));
EXPECT_NE(base::string16::npos, cf_ua.find(L"chromeframe/"));
@@ -133,9 +134,9 @@ TEST_F(HttpNegotiateTest, BeginningTransactionUARemoval) {
&test_http)))[kBeginningTransactionIndex]);
base::string16 nocf_ua(
- ASCIIToWide(http_utils::RemoveChromeFrameFromUserAgentValue(
+ base::ASCIIToWide(http_utils::RemoveChromeFrameFromUserAgentValue(
http_utils::GetDefaultUserAgentHeaderWithCFTag())));
- base::string16 cf_ua(ASCIIToWide(
+ base::string16 cf_ua(base::ASCIIToWide(
http_utils::AddChromeFrameToUserAgentValue(WideToASCII(nocf_ua))));
EXPECT_EQ(base::string16::npos, nocf_ua.find(L"chromeframe/"));
« no previous file with comments | « chrome_frame/test/header_test.cc ('k') | chrome_frame/test/ie_event_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698