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

Side by Side Diff: remoting/host/win/wts_terminal_monitor.cc

Issue 15995038: Use a direct include of utf_string_conversions.h in google_apis/, gpu/, ipc/, media/, ppapi/, print… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 7 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/win/wts_session_process_delegate.cc ('k') | rlz/lib/financial_ping.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 #include "remoting/host/win/wts_terminal_monitor.h" 5 #include "remoting/host/win/wts_terminal_monitor.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <winternl.h> 8 #include <winternl.h>
9 #include <wtsapi32.h> 9 #include <wtsapi32.h>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/lazy_instance.h" 13 #include "base/lazy_instance.h"
14 #include "base/native_library.h" 14 #include "base/native_library.h"
15 #include "base/scoped_native_library.h" 15 #include "base/scoped_native_library.h"
16 #include "base/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "net/base/ip_endpoint.h" 17 #include "net/base/ip_endpoint.h"
18 18
19 namespace { 19 namespace {
20 20
21 // Used to query the endpoint of an attached RDP client. 21 // Used to query the endpoint of an attached RDP client.
22 const WINSTATIONINFOCLASS kWinStationRemoteAddress = 22 const WINSTATIONINFOCLASS kWinStationRemoteAddress =
23 static_cast<WINSTATIONINFOCLASS>(29); 23 static_cast<WINSTATIONINFOCLASS>(29);
24 24
25 // WinStationRemoteAddress information class returns the following structure. 25 // WinStationRemoteAddress information class returns the following structure.
26 // Note that its layout is different from sockaddr_in/sockaddr_in6. For 26 // Note that its layout is different from sockaddr_in/sockaddr_in6. For
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 // |client_endpoint| is not associated with any session. 169 // |client_endpoint| is not associated with any session.
170 WTSFreeMemory(session_info); 170 WTSFreeMemory(session_info);
171 return kInvalidSessionId; 171 return kInvalidSessionId;
172 } 172 }
173 173
174 WtsTerminalMonitor::WtsTerminalMonitor() { 174 WtsTerminalMonitor::WtsTerminalMonitor() {
175 } 175 }
176 176
177 } // namespace remoting 177 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/win/wts_session_process_delegate.cc ('k') | rlz/lib/financial_ping.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698