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

Side by Side Diff: remoting/host/desktop_session_connector.h

Issue 12302042: Add more IPC unit tests: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix DesktopProcess shutdown. Test IpcDesktopEnvironmentFactory too." Created 7 years, 10 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/desktop_process.cc ('k') | remoting/host/ipc_desktop_environment.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_DESKTOP_SESSION_CONNECTOR_H_ 5 #ifndef REMOTING_HOST_DESKTOP_SESSION_CONNECTOR_H_
6 #define REMOTING_HOST_DESKTOP_SESSION_CONNECTOR_H_ 6 #define REMOTING_HOST_DESKTOP_SESSION_CONNECTOR_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/process.h" 10 #include "base/process.h"
(...skipping 23 matching lines...) Expand all
34 // Notifies the network process that |terminal_id| is now attached to 34 // Notifies the network process that |terminal_id| is now attached to
35 // a desktop integration process. |desktop_process| specifies the process 35 // a desktop integration process. |desktop_process| specifies the process
36 // handle. |desktop_pipe| is the client end of the pipe opened by the desktop 36 // handle. |desktop_pipe| is the client end of the pipe opened by the desktop
37 // process. 37 // process.
38 virtual void OnDesktopSessionAgentAttached( 38 virtual void OnDesktopSessionAgentAttached(
39 int terminal_id, 39 int terminal_id,
40 base::ProcessHandle desktop_process, 40 base::ProcessHandle desktop_process,
41 IPC::PlatformFileForTransit desktop_pipe) = 0; 41 IPC::PlatformFileForTransit desktop_pipe) = 0;
42 42
43 // Notifies the network process that the daemon has disconnected the desktop 43 // Notifies the network process that the daemon has disconnected the desktop
44 // session from the associated descktop environment. 44 // session from the associated desktop environment.
45 virtual void OnTerminalDisconnected(int terminal_id) = 0; 45 virtual void OnTerminalDisconnected(int terminal_id) = 0;
46 46
47 private: 47 private:
48 DISALLOW_COPY_AND_ASSIGN(DesktopSessionConnector); 48 DISALLOW_COPY_AND_ASSIGN(DesktopSessionConnector);
49 }; 49 };
50 50
51 } // namespace remoting 51 } // namespace remoting
52 52
53 #endif // REMOTING_HOST_DESKTOP_SESSION_CONNECTOR_H_ 53 #endif // REMOTING_HOST_DESKTOP_SESSION_CONNECTOR_H_
OLDNEW
« no previous file with comments | « remoting/host/desktop_process.cc ('k') | remoting/host/ipc_desktop_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698