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

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

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 2 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/continue_window.h ('k') | remoting/host/heartbeat_sender.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_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 "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 scoped_ptr<WorkerProcessLauncher> launcher_; 116 scoped_ptr<WorkerProcessLauncher> launcher_;
117 117
118 // Used to unsubscribe from session attach and detach events. 118 // Used to unsubscribe from session attach and detach events.
119 WtsTerminalMonitor* monitor_; 119 WtsTerminalMonitor* monitor_;
120 120
121 // True if |this| is subsribed to receive session attach/detach notifications. 121 // True if |this| is subsribed to receive session attach/detach notifications.
122 bool monitoring_notifications_; 122 bool monitoring_notifications_;
123 123
124 // Used to report an error if the session attach notification does not arrives 124 // Used to report an error if the session attach notification does not arrives
125 // for too long. 125 // for too long.
126 base::OneShotTimer<DesktopSessionWin> session_attach_timer_; 126 base::OneShotTimer session_attach_timer_;
127 127
128 base::Time last_timestamp_; 128 base::Time last_timestamp_;
129 129
130 DISALLOW_COPY_AND_ASSIGN(DesktopSessionWin); 130 DISALLOW_COPY_AND_ASSIGN(DesktopSessionWin);
131 }; 131 };
132 132
133 } // namespace remoting 133 } // namespace remoting
134 134
135 #endif // REMOTING_HOST_DESKTOP_SESSION_WIN_H_ 135 #endif // REMOTING_HOST_DESKTOP_SESSION_WIN_H_
OLDNEW
« no previous file with comments | « remoting/host/continue_window.h ('k') | remoting/host/heartbeat_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698