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

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

Issue 7089015: Call the DisconnectWindow interface methods on the UI thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows build Created 9 years, 6 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CHROMOTING_HOST_H_ 5 #ifndef REMOTING_CHROMOTING_HOST_H_
6 #define REMOTING_CHROMOTING_HOST_H_ 6 #define REMOTING_CHROMOTING_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 std::string GenerateHostAuthToken(const std::string& encoded_client_token); 160 std::string GenerateHostAuthToken(const std::string& encoded_client_token);
161 161
162 bool HasAuthenticatedClients() const; 162 bool HasAuthenticatedClients() const;
163 163
164 void EnableCurtainMode(bool enable); 164 void EnableCurtainMode(bool enable);
165 165
166 void ProcessPreAuthentication( 166 void ProcessPreAuthentication(
167 const scoped_refptr<protocol::ConnectionToClient>& connection); 167 const scoped_refptr<protocol::ConnectionToClient>& connection);
168 168
169 // Show or hide the Disconnect window on the UI thread. If |show| is false,
170 // hide the window, ignoring the |username| parameter.
171 void ShowDisconnectWindow(bool show, const std::string& username);
172
169 // The context that the chromoting host runs on. 173 // The context that the chromoting host runs on.
170 ChromotingHostContext* context_; 174 ChromotingHostContext* context_;
171 175
172 scoped_refptr<MutableHostConfig> config_; 176 scoped_refptr<MutableHostConfig> config_;
173 177
174 scoped_ptr<DesktopEnvironment> desktop_environment_; 178 scoped_ptr<DesktopEnvironment> desktop_environment_;
175 179
176 scoped_ptr<SignalStrategy> signal_strategy_; 180 scoped_ptr<SignalStrategy> signal_strategy_;
177 181
178 // The libjingle client. This is used to connect to the talk network to 182 // The libjingle client. This is used to connect to the talk network to
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // Whether or not the host is running in "Me2Mom" mode, in which connections 216 // Whether or not the host is running in "Me2Mom" mode, in which connections
213 // are pre-authenticated, and hence the local login challenge can be bypassed. 217 // are pre-authenticated, and hence the local login challenge can be bypassed.
214 bool is_me2mom_; 218 bool is_me2mom_;
215 219
216 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); 220 DISALLOW_COPY_AND_ASSIGN(ChromotingHost);
217 }; 221 };
218 222
219 } // namespace remoting 223 } // namespace remoting
220 224
221 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ 225 #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