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

Side by Side Diff: remoting/host/win/launch_process_with_token.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/usage_stats_consent_win.cc ('k') | remoting/host/win/message_window.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/launch_process_with_token.h" 5 #include "remoting/host/win/launch_process_with_token.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <winternl.h> 8 #include <winternl.h>
9 9
10 #include <limits> 10 #include <limits>
11 11
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/process_util.h" 14 #include "base/process_util.h"
15 #include "base/rand_util.h" 15 #include "base/rand_util.h"
16 #include "base/scoped_native_library.h" 16 #include "base/scoped_native_library.h"
17 #include "base/string16.h" 17 #include "base/strings/string16.h"
18 #include "base/stringprintf.h" 18 #include "base/strings/stringprintf.h"
19 #include "base/strings/utf_string_conversions.h" 19 #include "base/strings/utf_string_conversions.h"
20 #include "base/win/scoped_handle.h" 20 #include "base/win/scoped_handle.h"
21 #include "base/win/scoped_process_information.h" 21 #include "base/win/scoped_process_information.h"
22 #include "base/win/windows_version.h" 22 #include "base/win/windows_version.h"
23 23
24 using base::win::ScopedHandle; 24 using base::win::ScopedHandle;
25 25
26 namespace { 26 namespace {
27 27
28 const char kCreateProcessDefaultPipeNameFormat[] = 28 const char kCreateProcessDefaultPipeNameFormat[] =
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 return false; 517 return false;
518 } 518 }
519 519
520 CHECK(process_info.IsValid()); 520 CHECK(process_info.IsValid());
521 process_out->Set(process_info.TakeProcessHandle()); 521 process_out->Set(process_info.TakeProcessHandle());
522 thread_out->Set(process_info.TakeThreadHandle()); 522 thread_out->Set(process_info.TakeThreadHandle());
523 return true; 523 return true;
524 } 524 }
525 525
526 } // namespace remoting 526 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/usage_stats_consent_win.cc ('k') | remoting/host/win/message_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698