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

Side by Side Diff: remoting/host/host_service_win.h

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/elevated_controller_win.cc ('k') | remoting/host/host_service_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_HOST_SERVICE_WIN_H_ 5 #ifndef REMOTING_HOST_HOST_SERVICE_WIN_H_
6 #define REMOTING_HOST_HOST_SERVICE_WIN_H_ 6 #define REMOTING_HOST_HOST_SERVICE_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "base/observer_list.h" 12 #include "base/observer_list.h"
13 #include "base/string16.h"
14 #include "base/synchronization/waitable_event.h" 13 #include "base/synchronization/waitable_event.h"
15 14
16 #include "remoting/host/wts_console_monitor_win.h" 15 #include "remoting/host/wts_console_monitor_win.h"
17 16
18 class CommandLine; 17 class CommandLine;
19 class MessageLoop; 18 class MessageLoop;
20 19
21 namespace remoting { 20 namespace remoting {
22 21
23 class WtsConsoleObserver; 22 class WtsConsoleObserver;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // The host binary name. 81 // The host binary name.
83 FilePath host_binary_; 82 FilePath host_binary_;
84 83
85 // Service message loop. 84 // Service message loop.
86 MessageLoop* message_loop_; 85 MessageLoop* message_loop_;
87 86
88 // The action routine to be executed. 87 // The action routine to be executed.
89 int (HostService::*run_routine_)(); 88 int (HostService::*run_routine_)();
90 89
91 // The service name. 90 // The service name.
92 string16 service_name_; 91 std::wstring service_name_;
93 92
94 // The service status handle. 93 // The service status handle.
95 SERVICE_STATUS_HANDLE service_status_handle_; 94 SERVICE_STATUS_HANDLE service_status_handle_;
96 95
97 // True if the service is being stopped. 96 // True if the service is being stopped.
98 bool shutting_down_; 97 bool shutting_down_;
99 98
100 // A waitable event that is used to wait until the service is stopped. 99 // A waitable event that is used to wait until the service is stopped.
101 base::WaitableEvent stopped_event_; 100 base::WaitableEvent stopped_event_;
102 101
103 // Singleton. 102 // Singleton.
104 friend struct DefaultSingletonTraits<HostService>; 103 friend struct DefaultSingletonTraits<HostService>;
105 104
106 DISALLOW_COPY_AND_ASSIGN(HostService); 105 DISALLOW_COPY_AND_ASSIGN(HostService);
107 }; 106 };
108 107
109 } // namespace remoting 108 } // namespace remoting
110 109
111 #endif // REMOTING_HOST_HOST_SERVICE_WIN_H_ 110 #endif // REMOTING_HOST_HOST_SERVICE_WIN_H_
OLDNEW
« no previous file with comments | « remoting/host/elevated_controller_win.cc ('k') | remoting/host/host_service_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698