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

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

Issue 595063005: Save the client base JID for authentication in case it differs from the email (for accounts non-Goo… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add jsdoc Created 6 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/host_config.cc ('k') | remoting/host/mac/me2me_preference_pane.mm » ('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 { 10 namespace net {
(...skipping 27 matching lines...) Expand all
38 // An authenticated client is disconnected. 38 // An authenticated client is disconnected.
39 virtual void OnClientDisconnected(const std::string& jid) {} 39 virtual void OnClientDisconnected(const std::string& jid) {}
40 40
41 // Called on notification of a route change event, when a channel is 41 // Called on notification of a route change event, when a channel is
42 // connected. 42 // connected.
43 virtual void OnClientRouteChange(const std::string& jid, 43 virtual void OnClientRouteChange(const std::string& jid,
44 const std::string& channel_name, 44 const std::string& channel_name,
45 const protocol::TransportRoute& route) {} 45 const protocol::TransportRoute& route) {}
46 46
47 // Called when hosting is started for an account. 47 // Called when hosting is started for an account.
48 virtual void OnStart(const std::string& xmpp_login) {} 48 virtual void OnStart(const std::string& host_owner_email) {}
49 49
50 // Called when the host shuts down. 50 // Called when the host shuts down.
51 virtual void OnShutdown() {} 51 virtual void OnShutdown() {}
52 }; 52 };
53 53
54 } // namespace remoting 54 } // namespace remoting
55 55
56 #endif // REMOTING_HOST_HOST_STATUS_OBSERVER_H_ 56 #endif // REMOTING_HOST_HOST_STATUS_OBSERVER_H_
OLDNEW
« no previous file with comments | « remoting/host/host_config.cc ('k') | remoting/host/mac/me2me_preference_pane.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698