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

Side by Side Diff: remoting/host/win/wts_terminal_observer.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 4 years, 12 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
« no previous file with comments | « remoting/host/win/wts_terminal_monitor.cc ('k') | remoting/host/worker_process_ipc_delegate.h » ('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_WTS_TERMINAL_OBSERVER_H_ 5 #ifndef REMOTING_HOST_WIN_WTS_TERMINAL_OBSERVER_H_
6 #define REMOTING_HOST_WIN_WTS_TERMINAL_OBSERVER_H_ 6 #define REMOTING_HOST_WIN_WTS_TERMINAL_OBSERVER_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <stdint.h>
9 10
10 #include "base/basictypes.h" 11 #include "base/macros.h"
11 12
12 namespace remoting { 13 namespace remoting {
13 14
14 // Provides callbacks for monitoring events on a WTS terminal. 15 // Provides callbacks for monitoring events on a WTS terminal.
15 class WtsTerminalObserver { 16 class WtsTerminalObserver {
16 public: 17 public:
17 virtual ~WtsTerminalObserver() {} 18 virtual ~WtsTerminalObserver() {}
18 19
19 // Called when |session_id| attaches to the console. 20 // Called when |session_id| attaches to the console.
20 virtual void OnSessionAttached(uint32 session_id) = 0; 21 virtual void OnSessionAttached(uint32_t session_id) = 0;
21 22
22 // Called when a session detaches from the console. 23 // Called when a session detaches from the console.
23 virtual void OnSessionDetached() = 0; 24 virtual void OnSessionDetached() = 0;
24 25
25 protected: 26 protected:
26 WtsTerminalObserver() {} 27 WtsTerminalObserver() {}
27 28
28 private: 29 private:
29 DISALLOW_COPY_AND_ASSIGN(WtsTerminalObserver); 30 DISALLOW_COPY_AND_ASSIGN(WtsTerminalObserver);
30 }; 31 };
31 32
32 } // namespace remoting 33 } // namespace remoting
33 34
34 #endif // REMOTING_HOST_WIN_WTS_TERMINAL_OBSERVER_H_ 35 #endif // REMOTING_HOST_WIN_WTS_TERMINAL_OBSERVER_H_
OLDNEW
« no previous file with comments | « remoting/host/win/wts_terminal_monitor.cc ('k') | remoting/host/worker_process_ipc_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698