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

Unified Diff: chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc

Issue 120983002: Update some uses of UTF conversions in chrome/browser 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: chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc
diff --git a/chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc b/chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc
index d3e63d52bd82691c50566908f1593815d67c4617..45f84b4996853c76505a3e3e56daea027a00f7f5 100644
--- a/chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc
+++ b/chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc
@@ -47,7 +47,7 @@ void GetStorageInfo(const std::string& storage_name,
ASSERT_EQ(kStorageWithValidInfo, storage_name);
*id = GetMtpDeviceId(kStorageUniqueId);
- *label = ASCIIToUTF16(kStorageLabel);
+ *label = base::ASCIIToUTF16(kStorageLabel);
*location = kStorageLocation;
}
@@ -135,7 +135,8 @@ TEST_F(MediaTransferProtocolDeviceObserverLinuxTest, BasicAttachDetach) {
EXPECT_EQ(1, observer().attach_calls());
EXPECT_EQ(0, observer().detach_calls());
EXPECT_EQ(device_id, observer().last_attached().device_id());
- EXPECT_EQ(ASCIIToUTF16(kStorageLabel), observer().last_attached().name());
+ EXPECT_EQ(base::ASCIIToUTF16(kStorageLabel),
+ observer().last_attached().name());
EXPECT_EQ(kStorageLocation, observer().last_attached().location());
// Detach the attached storage.

Powered by Google App Engine
This is Rietveld 408576698