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

Unified Diff: remoting/host/pairing_registry_delegate_win_unittest.cc

Issue 121123002: Update uses of UTF conversions in ppapi/, printing/, remoting/, rlz/, sandbox/, skia/, sql/, sync/,… (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 | « remoting/host/pairing_registry_delegate_win.cc ('k') | remoting/host/plugin/host_script_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/pairing_registry_delegate_win_unittest.cc
diff --git a/remoting/host/pairing_registry_delegate_win_unittest.cc b/remoting/host/pairing_registry_delegate_win_unittest.cc
index b8b39531ca4a46325ceb17159cbacad6fb35c467..991ac8f647dfdd7e1b27edf12cb0a7aa06ccc528 100644
--- a/remoting/host/pairing_registry_delegate_win_unittest.cc
+++ b/remoting/host/pairing_registry_delegate_win_unittest.cc
@@ -22,7 +22,8 @@ class PairingRegistryDelegateWinTest : public testing::Test {
key_name_ = base::GenerateGUID();
base::win::RegKey root;
- EXPECT_TRUE(root.Create(HKEY_CURRENT_USER, UTF8ToWide(key_name_).c_str(),
+ EXPECT_TRUE(root.Create(HKEY_CURRENT_USER,
+ base::UTF8ToWide(key_name_).c_str(),
KEY_READ | KEY_WRITE) == ERROR_SUCCESS);
EXPECT_TRUE(privileged_.Create(root.Handle(), L"privileged",
@@ -34,8 +35,9 @@ class PairingRegistryDelegateWinTest : public testing::Test {
virtual void TearDown() OVERRIDE {
privileged_.Close();
unprivileged_.Close();
- EXPECT_TRUE(SHDeleteKey(HKEY_CURRENT_USER,
- UTF8ToWide(key_name_).c_str()) == ERROR_SUCCESS);
+ EXPECT_TRUE(
+ SHDeleteKey(HKEY_CURRENT_USER,
+ base::UTF8ToWide(key_name_).c_str()) == ERROR_SUCCESS);
}
protected:
« no previous file with comments | « remoting/host/pairing_registry_delegate_win.cc ('k') | remoting/host/plugin/host_script_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698