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

Side by Side Diff: remoting/client/plugin/chromoting_instance.h

Issue 8351084: Remove old Authentication code that we don't use or need. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 1 month 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 | « remoting/client/chromoting_view.h ('k') | remoting/client/plugin/chromoting_instance.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 // TODO(ajwong): We need to come up with a better description of the 5 // TODO(ajwong): We need to come up with a better description of the
6 // responsibilities for each thread. 6 // responsibilities for each thread.
7 7
8 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ 8 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_
9 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ 9 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // pp::InstancePrivate interface. 71 // pp::InstancePrivate interface.
72 virtual pp::Var GetInstanceObject() OVERRIDE; 72 virtual pp::Var GetInstanceObject() OVERRIDE;
73 73
74 // Convenience wrapper to get the ChromotingScriptableObject. 74 // Convenience wrapper to get the ChromotingScriptableObject.
75 ChromotingScriptableObject* GetScriptableObject(); 75 ChromotingScriptableObject* GetScriptableObject();
76 76
77 // Initiates and cancels connections. 77 // Initiates and cancels connections.
78 void Connect(const ClientConfig& config); 78 void Connect(const ClientConfig& config);
79 void Disconnect(); 79 void Disconnect();
80 80
81 // Called by ChromotingScriptableObject to provide username and password.
82 void SubmitLoginInfo(const std::string& username,
83 const std::string& password);
84
85 // Called by ChromotingScriptableObject to set scale-to-fit. 81 // Called by ChromotingScriptableObject to set scale-to-fit.
86 void SetScaleToFit(bool scale_to_fit); 82 void SetScaleToFit(bool scale_to_fit);
87 83
88 // Return statistics record by ChromotingClient. 84 // Return statistics record by ChromotingClient.
89 // If no connection is currently active then NULL will be returned. 85 // If no connection is currently active then NULL will be returned.
90 ChromotingStats* GetStats(); 86 ChromotingStats* GetStats();
91 87
92 void ReleaseAllKeys(); 88 void ReleaseAllKeys();
93 89
94 bool DoScaling() const { return scale_to_fit_; } 90 bool DoScaling() const { return scale_to_fit_; }
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 pp::Var instance_object_; 149 pp::Var instance_object_;
154 150
155 scoped_ptr<ScopedThreadProxy> thread_proxy_; 151 scoped_ptr<ScopedThreadProxy> thread_proxy_;
156 152
157 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); 153 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance);
158 }; 154 };
159 155
160 } // namespace remoting 156 } // namespace remoting
161 157
162 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ 158 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_
OLDNEW
« no previous file with comments | « remoting/client/chromoting_view.h ('k') | remoting/client/plugin/chromoting_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698