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

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

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
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_WTS_SESSION_PROCESS_DELEGATE_H_ 5 #ifndef REMOTING_HOST_WIN_WTS_SESSION_PROCESS_DELEGATE_H_
6 #define REMOTING_HOST_WIN_WTS_SESSION_PROCESS_DELEGATE_H_ 6 #define REMOTING_HOST_WIN_WTS_SESSION_PROCESS_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include <stdint.h>
9
9 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
12 #include "base/threading/non_thread_safe.h" 14 #include "base/threading/non_thread_safe.h"
13 #include "remoting/host/win/worker_process_launcher.h" 15 #include "remoting/host/win/worker_process_launcher.h"
14 16
15 namespace base { 17 namespace base {
16 class CommandLine; 18 class CommandLine;
17 class SingleThreadTaskRunner; 19 class SingleThreadTaskRunner;
18 } // namespace base 20 } // namespace base
19 21
(...skipping 10 matching lines...) Expand all
30 public WorkerProcessLauncher::Delegate { 32 public WorkerProcessLauncher::Delegate {
31 public: 33 public:
32 WtsSessionProcessDelegate( 34 WtsSessionProcessDelegate(
33 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, 35 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
34 scoped_ptr<base::CommandLine> target, 36 scoped_ptr<base::CommandLine> target,
35 bool launch_elevated, 37 bool launch_elevated,
36 const std::string& channel_security); 38 const std::string& channel_security);
37 ~WtsSessionProcessDelegate() override; 39 ~WtsSessionProcessDelegate() override;
38 40
39 // Initializes the object returning true on success. 41 // Initializes the object returning true on success.
40 bool Initialize(uint32 session_id); 42 bool Initialize(uint32_t session_id);
41 43
42 // WorkerProcessLauncher::Delegate implementation. 44 // WorkerProcessLauncher::Delegate implementation.
43 void LaunchProcess(WorkerProcessLauncher* event_handler) override; 45 void LaunchProcess(WorkerProcessLauncher* event_handler) override;
44 void Send(IPC::Message* message) override; 46 void Send(IPC::Message* message) override;
45 void CloseChannel() override; 47 void CloseChannel() override;
46 void KillProcess() override; 48 void KillProcess() override;
47 49
48 private: 50 private:
49 // The actual implementation resides in WtsSessionProcessDelegate::Core class. 51 // The actual implementation resides in WtsSessionProcessDelegate::Core class.
50 class Core; 52 class Core;
51 scoped_refptr<Core> core_; 53 scoped_refptr<Core> core_;
52 54
53 DISALLOW_COPY_AND_ASSIGN(WtsSessionProcessDelegate); 55 DISALLOW_COPY_AND_ASSIGN(WtsSessionProcessDelegate);
54 }; 56 };
55 57
56 } // namespace remoting 58 } // namespace remoting
57 59
58 #endif // REMOTING_HOST_WIN_WTS_SESSION_PROCESS_DELEGATE_H_ 60 #endif // REMOTING_HOST_WIN_WTS_SESSION_PROCESS_DELEGATE_H_
OLDNEW
« no previous file with comments | « remoting/host/win/worker_process_launcher_unittest.cc ('k') | remoting/host/win/wts_session_process_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698