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

Unified Diff: remoting/host/host_service_win.cc

Issue 10579034: Removing incorrect usage of TO_L_STRING() macros. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 6 months 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/host_service_win.h ('k') | remoting/host/plugin/daemon_controller_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_service_win.cc
diff --git a/remoting/host/host_service_win.cc b/remoting/host/host_service_win.cc
index 0f347ecd9ed7abdb317527ea05ae418a19e1a948..48b83bd05c5b4555a326b87081aa8e71fbaa9120 100644
--- a/remoting/host/host_service_win.cc
+++ b/remoting/host/host_service_win.cc
@@ -19,9 +19,9 @@
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/path_service.h"
-#include "base/stringize_macros.h"
#include "base/stringprintf.h"
#include "base/threading/thread.h"
+#include "base/utf_string_conversions.h"
#include "base/win/wrapped_window_proc.h"
#include "remoting/base/breakpad.h"
#include "remoting/base/scoped_sc_handle_win.h"
@@ -41,12 +41,12 @@ const uint32 kInvalidSession = 0xffffffff;
const char kIoThreadName[] = "I/O thread";
// A window class for the session change notifications window.
-const char16 kSessionNotificationWindowClass[] =
- TO_L_STRING("Chromoting_SessionNotificationWindow");
+const wchar_t kSessionNotificationWindowClass[] =
+ L"Chromoting_SessionNotificationWindow";
// Command line actions and switches:
// "run" sumply runs the service as usual.
-const char16 kRunActionName[] = TO_L_STRING("run");
+const wchar_t kRunActionName[] = L"run";
// "--console" runs the service interactively for debugging purposes.
const char kConsoleSwitchName[] = "console";
@@ -258,7 +258,7 @@ int HostService::RunInConsole() {
HWND window = NULL;
WNDCLASSEX window_class;
base::win::InitializeWindowClass(
- kSessionNotificationWindowClass,
+ WideToUTF16(kSessionNotificationWindowClass).c_str(),
&base::win::WrappedWindowProc<SessionChangeNotificationProc>,
0, 0, 0, NULL, NULL, NULL, NULL, NULL,
&window_class);
« no previous file with comments | « remoting/host/host_service_win.h ('k') | remoting/host/plugin/daemon_controller_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698