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

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

Issue 2538183002: remoting: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 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 | « remoting/host/host_power_save_blocker.h ('k') | remoting/host/it2me/it2me_host.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_HOST_STATUS_OBSERVER_H_ 5 #ifndef REMOTING_HOST_HOST_STATUS_OBSERVER_H_
6 #define REMOTING_HOST_HOST_STATUS_OBSERVER_H_ 6 #define REMOTING_HOST_HOST_STATUS_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace net {
11 class IPEndPoint;
12 } // namespace net
13
14 namespace remoting { 10 namespace remoting {
15 class SignalStrategy;
16 11
17 namespace protocol { 12 namespace protocol {
18 struct TransportRoute; 13 struct TransportRoute;
19 }; 14 };
20 15
21 // Interface for host status observer. All methods are invoked on the 16 // Interface for host status observer. All methods are invoked on the
22 // network thread. Observers must not tear-down ChromotingHost state 17 // network thread. Observers must not tear-down ChromotingHost state
23 // on receipt of these callbacks; they are purely informational. 18 // on receipt of these callbacks; they are purely informational.
24 class HostStatusObserver { 19 class HostStatusObserver {
25 public: 20 public:
(...skipping 21 matching lines...) Expand all
47 // Called when hosting is started for an account. 42 // Called when hosting is started for an account.
48 virtual void OnStart(const std::string& host_owner_email) {} 43 virtual void OnStart(const std::string& host_owner_email) {}
49 44
50 // Called when the host shuts down. 45 // Called when the host shuts down.
51 virtual void OnShutdown() {} 46 virtual void OnShutdown() {}
52 }; 47 };
53 48
54 } // namespace remoting 49 } // namespace remoting
55 50
56 #endif // REMOTING_HOST_HOST_STATUS_OBSERVER_H_ 51 #endif // REMOTING_HOST_HOST_STATUS_OBSERVER_H_
OLDNEW
« no previous file with comments | « remoting/host/host_power_save_blocker.h ('k') | remoting/host/it2me/it2me_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698