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

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

Issue 2468523003: Pass the desktop session ID to the remoting network process. (Closed)
Patch Set: rebase Created 4 years, 1 month 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/desktop_session_proxy.cc ('k') | remoting/host/desktop_session_win.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 #ifndef REMOTING_HOST_DESKTOP_SESSION_WIN_H_ 5 #ifndef REMOTING_HOST_DESKTOP_SESSION_WIN_H_
6 #define REMOTING_HOST_DESKTOP_SESSION_WIN_H_ 6 #define REMOTING_HOST_DESKTOP_SESSION_WIN_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 // True if |this| is subsribed to receive session attach/detach notifications. 125 // True if |this| is subsribed to receive session attach/detach notifications.
126 bool monitoring_notifications_; 126 bool monitoring_notifications_;
127 127
128 // Used to report an error if the session attach notification does not arrives 128 // Used to report an error if the session attach notification does not arrives
129 // for too long. 129 // for too long.
130 base::OneShotTimer session_attach_timer_; 130 base::OneShotTimer session_attach_timer_;
131 131
132 base::Time last_timestamp_; 132 base::Time last_timestamp_;
133 133
134 // The id of the current desktop session being remoted or UINT32_MAX if no
135 // session exists.
136 int session_id_ = UINT32_MAX;
137
134 DISALLOW_COPY_AND_ASSIGN(DesktopSessionWin); 138 DISALLOW_COPY_AND_ASSIGN(DesktopSessionWin);
135 }; 139 };
136 140
137 } // namespace remoting 141 } // namespace remoting
138 142
139 #endif // REMOTING_HOST_DESKTOP_SESSION_WIN_H_ 143 #endif // REMOTING_HOST_DESKTOP_SESSION_WIN_H_
OLDNEW
« no previous file with comments | « remoting/host/desktop_session_proxy.cc ('k') | remoting/host/desktop_session_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698