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

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

Issue 16181013: Use a direct include of strings headers in remoting/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/message_window.cc ('k') | remoting/host/win/security_descriptor.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/rdp_client_window.h" 5 #include "remoting/host/win/rdp_client_window.h"
6 6
7 #include <wtsdefs.h> 7 #include <wtsdefs.h>
8 8
9 #include <list> 9 #include <list>
10 10
11 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/string16.h" 13 #include "base/strings/string16.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "base/threading/thread_local.h" 15 #include "base/threading/thread_local.h"
16 #include "base/win/scoped_bstr.h" 16 #include "base/win/scoped_bstr.h"
17 17
18 namespace remoting { 18 namespace remoting {
19 19
20 namespace { 20 namespace {
21 21
22 // RDP connection disconnect reasons codes that should not be interpreted as 22 // RDP connection disconnect reasons codes that should not be interpreted as
23 // errors. 23 // errors.
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 return CallNextHookEx(hook, code, wparam, lparam); 502 return CallNextHookEx(hook, code, wparam, lparam);
503 503
504 // Close the window once all pending window messages are processed. 504 // Close the window once all pending window messages are processed.
505 HWND window = reinterpret_cast<HWND>(wparam); 505 HWND window = reinterpret_cast<HWND>(wparam);
506 LOG(WARNING) << "RDP: closing a window: " << std::hex << window << std::dec; 506 LOG(WARNING) << "RDP: closing a window: " << std::hex << window << std::dec;
507 ::PostMessage(window, WM_CLOSE, 0, 0); 507 ::PostMessage(window, WM_CLOSE, 0, 0);
508 return 0; 508 return 0;
509 } 509 }
510 510
511 } // namespace remoting 511 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/win/message_window.cc ('k') | remoting/host/win/security_descriptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698