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

Side by Side Diff: remoting/host/win/wts_terminal_monitor.h

Issue 924793003: Cleanup: Convert const char* kFoo to const char kFoo[]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 5 years 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 | « extensions/common/message_bundle.cc ('k') | remoting/host/win/wts_terminal_monitor.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_WIN_WTS_TERMINAL_MONITOR_H_ 5 #ifndef REMOTING_HOST_WIN_WTS_TERMINAL_MONITOR_H_
6 #define REMOTING_HOST_WIN_WTS_TERMINAL_MONITOR_H_ 6 #define REMOTING_HOST_WIN_WTS_TERMINAL_MONITOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 12
13 namespace remoting { 13 namespace remoting {
14 14
15 class WtsTerminalObserver; 15 class WtsTerminalObserver;
16 16
17 // Session id that does not represent any session. 17 // Session id that does not represent any session.
18 extern const uint32 kInvalidSessionId; 18 extern const uint32 kInvalidSessionId;
19 19
20 class WtsTerminalMonitor { 20 class WtsTerminalMonitor {
21 public: 21 public:
22 // The console terminal ID. 22 // The console terminal ID.
23 static const char* kConsole; 23 static const char kConsole[];
24 24
25 virtual ~WtsTerminalMonitor(); 25 virtual ~WtsTerminalMonitor();
26 26
27 // Registers an observer to receive notifications about a particular WTS 27 // Registers an observer to receive notifications about a particular WTS
28 // terminal. |terminal_id| is used to specify an RdpClient instance for which 28 // terminal. |terminal_id| is used to specify an RdpClient instance for which
29 // the connected session should be monitored, or |kConsole| may be passed to 29 // the connected session should be monitored, or |kConsole| may be passed to
30 // monitor the console session. 30 // monitor the console session.
31 // 31 //
32 // Each observer instance can monitor a single WTS console. Returns 32 // Each observer instance can monitor a single WTS console. Returns
33 // |true| of success. Returns |false| if |observer| is already registered. 33 // |true| of success. Returns |false| if |observer| is already registered.
(...skipping 16 matching lines...) Expand all
50 protected: 50 protected:
51 WtsTerminalMonitor(); 51 WtsTerminalMonitor();
52 52
53 private: 53 private:
54 DISALLOW_COPY_AND_ASSIGN(WtsTerminalMonitor); 54 DISALLOW_COPY_AND_ASSIGN(WtsTerminalMonitor);
55 }; 55 };
56 56
57 } // namespace remoting 57 } // namespace remoting
58 58
59 #endif // REMOTING_HOST_WIN_WTS_TERMINAL_MONITOR_H_ 59 #endif // REMOTING_HOST_WIN_WTS_TERMINAL_MONITOR_H_
OLDNEW
« no previous file with comments | « extensions/common/message_bundle.cc ('k') | remoting/host/win/wts_terminal_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698