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

Side by Side Diff: remoting/host/win/host_service.h

Issue 10824166: Cleaned up usage of std::wstring in src/remoting. Added presubmit warning supressions for the reman… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 4 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/usage_stats_consent_win.cc ('k') | remoting/host/win/host_service.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_WIN_HOST_SERVICE_H_ 5 #ifndef REMOTING_HOST_WIN_HOST_SERVICE_H_
6 #define REMOTING_HOST_WIN_HOST_SERVICE_H_ 6 #define REMOTING_HOST_WIN_HOST_SERVICE_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 ObserverList<WtsConsoleObserver> console_observers_; 93 ObserverList<WtsConsoleObserver> console_observers_;
94 94
95 scoped_ptr<Stoppable> child_; 95 scoped_ptr<Stoppable> child_;
96 96
97 // Service message loop. 97 // Service message loop.
98 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; 98 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
99 99
100 // The action routine to be executed. 100 // The action routine to be executed.
101 int (HostService::*run_routine_)(); 101 int (HostService::*run_routine_)();
102 102
103 // The service name.
104 std::wstring service_name_;
105
106 // The service status handle. 103 // The service status handle.
107 SERVICE_STATUS_HANDLE service_status_handle_; 104 SERVICE_STATUS_HANDLE service_status_handle_;
108 105
109 // A waitable event that is used to wait until the service is stopped. 106 // A waitable event that is used to wait until the service is stopped.
110 base::WaitableEvent stopped_event_; 107 base::WaitableEvent stopped_event_;
111 108
112 // Singleton. 109 // Singleton.
113 friend struct DefaultSingletonTraits<HostService>; 110 friend struct DefaultSingletonTraits<HostService>;
114 111
115 DISALLOW_COPY_AND_ASSIGN(HostService); 112 DISALLOW_COPY_AND_ASSIGN(HostService);
116 }; 113 };
117 114
118 } // namespace remoting 115 } // namespace remoting
119 116
120 #endif // REMOTING_HOST_WIN_HOST_SERVICE_H_ 117 #endif // REMOTING_HOST_WIN_HOST_SERVICE_H_
OLDNEW
« no previous file with comments | « remoting/host/usage_stats_consent_win.cc ('k') | remoting/host/win/host_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698