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

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

Issue 19796006: Support service accounts in the chromoting host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update python api keys help script Created 7 years, 4 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 | « google_apis/google_api_keys_unittest.cc ('k') | 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 <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner, 79 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner,
80 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); 80 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
81 virtual ~ChromotingHost(); 81 virtual ~ChromotingHost();
82 82
83 // Asynchronously starts the host. 83 // Asynchronously starts the host.
84 // 84 //
85 // After this is invoked, the host process will connect to the talk 85 // After this is invoked, the host process will connect to the talk
86 // network and start listening for incoming connections. 86 // network and start listening for incoming connections.
87 // 87 //
88 // This method can only be called once during the lifetime of this object. 88 // This method can only be called once during the lifetime of this object.
89 void Start(const std::string& xmpp_login); 89 void Start(const std::string& host_owner);
90 90
91 // HostStatusMonitor interface. 91 // HostStatusMonitor interface.
92 virtual void AddStatusObserver(HostStatusObserver* observer) OVERRIDE; 92 virtual void AddStatusObserver(HostStatusObserver* observer) OVERRIDE;
93 virtual void RemoveStatusObserver(HostStatusObserver* observer) OVERRIDE; 93 virtual void RemoveStatusObserver(HostStatusObserver* observer) OVERRIDE;
94 94
95 // This method may be called only from 95 // This method may be called only from
96 // HostStatusObserver::OnClientAuthenticated() to reject the new 96 // HostStatusObserver::OnClientAuthenticated() to reject the new
97 // client. 97 // client.
98 void RejectAuthenticatingClient(); 98 void RejectAuthenticatingClient();
99 99
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 scoped_refptr<protocol::PairingRegistry> pairing_registry_; 205 scoped_refptr<protocol::PairingRegistry> pairing_registry_;
206 206
207 base::WeakPtrFactory<ChromotingHost> weak_factory_; 207 base::WeakPtrFactory<ChromotingHost> weak_factory_;
208 208
209 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); 209 DISALLOW_COPY_AND_ASSIGN(ChromotingHost);
210 }; 210 };
211 211
212 } // namespace remoting 212 } // namespace remoting
213 213
214 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ 214 #endif // REMOTING_HOST_CHROMOTING_HOST_H_
OLDNEW
« no previous file with comments | « google_apis/google_api_keys_unittest.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698