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

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

Issue 10893009: Log when the host is started for an account. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change shutdown log to a TODO, update unit test expectations. Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/host/chromoting_host.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_CHROMOTING_HOST_H_ 5 #ifndef REMOTING_HOST_CHROMOTING_HOST_H_
6 #define REMOTING_HOST_CHROMOTING_HOST_H_ 6 #define REMOTING_HOST_CHROMOTING_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 SignalStrategy* signal_strategy, 73 SignalStrategy* signal_strategy,
74 DesktopEnvironment* environment, 74 DesktopEnvironment* environment,
75 scoped_ptr<protocol::SessionManager> session_manager); 75 scoped_ptr<protocol::SessionManager> session_manager);
76 76
77 // Asynchronously start the host process. 77 // Asynchronously start the host process.
78 // 78 //
79 // After this is invoked, the host process will connect to the talk 79 // After this is invoked, the host process will connect to the talk
80 // network and start listening for incoming connections. 80 // network and start listening for incoming connections.
81 // 81 //
82 // This method can only be called once during the lifetime of this object. 82 // This method can only be called once during the lifetime of this object.
83 void Start(); 83 void Start(const std::string& xmpp_login);
84 84
85 // Asynchronously shutdown the host process. |shutdown_task| is 85 // Asynchronously shutdown the host process. |shutdown_task| is
86 // called after shutdown is completed. 86 // called after shutdown is completed.
87 void Shutdown(const base::Closure& shutdown_task); 87 void Shutdown(const base::Closure& shutdown_task);
88 88
89 // Add/Remove |observer| to/from the list of status observers. Both 89 // Add/Remove |observer| to/from the list of status observers. Both
90 // methods can be called on the network thread only. 90 // methods can be called on the network thread only.
91 void AddStatusObserver(HostStatusObserver* observer); 91 void AddStatusObserver(HostStatusObserver* observer);
92 void RemoveStatusObserver(HostStatusObserver* observer); 92 void RemoveStatusObserver(HostStatusObserver* observer);
93 93
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 230
231 // The maximum duration of any session. 231 // The maximum duration of any session.
232 base::TimeDelta max_session_duration_; 232 base::TimeDelta max_session_duration_;
233 233
234 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); 234 DISALLOW_COPY_AND_ASSIGN(ChromotingHost);
235 }; 235 };
236 236
237 } // namespace remoting 237 } // namespace remoting
238 238
239 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ 239 #endif // REMOTING_HOST_CHROMOTING_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698