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

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

Issue 7008003: Wire in OAuth2 support into non-sandboxed connections in libjingle. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright + rebase Created 9 years, 7 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 | « remoting/client/client_util.cc ('k') | remoting/client/plugin/chromoting_scriptable_object.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 // This implements the JavaScript class entrypoint for the plugin instance. 5 // This implements the JavaScript class entrypoint for the plugin instance.
6 // The Javascript API is defined as follows. 6 // The Javascript API is defined as follows.
7 // 7 //
8 // interface ChromotingScriptableObject { 8 // interface ChromotingScriptableObject {
9 // 9 //
10 // // Chromoting session API version (for this plugin). 10 // // Chromoting session API version (for this plugin).
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // // Latency for rendering in milliseconds. 78 // // Latency for rendering in milliseconds.
79 // readonly attribute int videoRenderLatency; 79 // readonly attribute int videoRenderLatency;
80 // // Latency between an event is sent and a corresponding video packet is 80 // // Latency between an event is sent and a corresponding video packet is
81 // // received. 81 // // received.
82 // readonly attribute int roundTripLatency; 82 // readonly attribute int roundTripLatency;
83 // 83 //
84 // // Methods for establishing a Chromoting connection. 84 // // Methods for establishing a Chromoting connection.
85 // // 85 // //
86 // // When using the sandboxed versions, sendIq must be set and responses to 86 // // When using the sandboxed versions, sendIq must be set and responses to
87 // // calls on sendIq must be piped back into onIq(). 87 // // calls on sendIq must be piped back into onIq().
88 // void connect(string host_jid, string client_jid, 88 // //
89 // // Note that auth_token_with_service should be specified as
90 // // "auth_service:auth_token". For example, "oauth2:5/aBd123".
91 // void connect(string host_jid, string auth_token_with_service,
89 // optional string access_code); 92 // optional string access_code);
90 // // Non-sandboxed version used for debugging/testing. 93 // // Non-sandboxed version used for debugging/testing.
91 // // TODO(garykac): Remove this version once we no longer need it. 94 // // TODO(garykac): Remove this version once we no longer need it.
92 // void connectUnsandboxed(string host_jid, string username, 95 // void connectUnsandboxed(string host_jid, string username,
93 // string xmpp_token, optional string access_code); 96 // string xmpp_token, optional string access_code);
94 // 97 //
95 // // Terminating a Chromoting connection. 98 // // Terminating a Chromoting connection.
96 // void disconnect(); 99 // void disconnect();
97 // 100 //
98 // // Method for submitting login information. 101 // // Method for submitting login information.
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 PropertyNameMap property_names_; 230 PropertyNameMap property_names_;
228 std::vector<PropertyDescriptor> properties_; 231 std::vector<PropertyDescriptor> properties_;
229 scoped_refptr<PepperXmppProxy> xmpp_proxy_; 232 scoped_refptr<PepperXmppProxy> xmpp_proxy_;
230 233
231 ChromotingInstance* instance_; 234 ChromotingInstance* instance_;
232 }; 235 };
233 236
234 } // namespace remoting 237 } // namespace remoting
235 238
236 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_SCRIPTABLE_OBJECT_H_ 239 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_SCRIPTABLE_OBJECT_H_
OLDNEW
« no previous file with comments | « remoting/client/client_util.cc ('k') | remoting/client/plugin/chromoting_scriptable_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698