Revert of Remove OneClickSigninHelper since it is no longer used. (patchset #5 id...
[chromium-blink-merge.git] / remoting / host / win / wts_terminal_observer.h
blobb7ec9e391dbddae7c2c021e202d0d4cc283f4250
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
3 // found in the LICENSE file.
5 #ifndef REMOTING_HOST_WIN_WTS_TERMINAL_OBSERVER_H_
6 #define REMOTING_HOST_WIN_WTS_TERMINAL_OBSERVER_H_
8 #include <windows.h>
10 #include "base/basictypes.h"
12 namespace remoting {
14 // Provides callbacks for monitoring events on a WTS terminal.
15 class WtsTerminalObserver {
16 public:
17 virtual ~WtsTerminalObserver() {}
19 // Called when |session_id| attaches to the console.
20 virtual void OnSessionAttached(uint32 session_id) = 0;
22 // Called when a session detaches from the console.
23 virtual void OnSessionDetached() = 0;
25 protected:
26 WtsTerminalObserver() {}
28 private:
29 DISALLOW_COPY_AND_ASSIGN(WtsTerminalObserver);
32 } // namespace remoting
34 #endif // REMOTING_HOST_WIN_WTS_TERMINAL_OBSERVER_H_