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

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

Issue 9958148: Revert 130500 - Merge 130082 - Add an injectKeyEvent API to the Chromoting client plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1084/src/
Patch Set: Created 8 years, 8 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/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) 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 // 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 ERROR_NONE = 0, 80 ERROR_NONE = 0,
81 ERROR_HOST_IS_OFFLINE, 81 ERROR_HOST_IS_OFFLINE,
82 ERROR_SESSION_REJECTED, 82 ERROR_SESSION_REJECTED,
83 ERROR_INCOMPATIBLE_PROTOCOL, 83 ERROR_INCOMPATIBLE_PROTOCOL,
84 ERROR_NETWORK_FAILURE, 84 ERROR_NETWORK_FAILURE,
85 ERROR_HOST_OVERLOAD, 85 ERROR_HOST_OVERLOAD,
86 }; 86 };
87 87
88 // Plugin API version. This should be incremented whenever the API 88 // Plugin API version. This should be incremented whenever the API
89 // interface changes. 89 // interface changes.
90 static const int kApiVersion = 6; 90 static const int kApiVersion = 5;
91 91
92 // Backward-compatibility version used by for the messaging 92 // Backward-compatibility version used by for the messaging
93 // interface. Should be updated whenever we remove support for 93 // interface. Should be updated whenever we remove support for
94 // an older version of the API. 94 // an older version of the API.
95 static const int kApiMinMessagingVersion = 5; 95 static const int kApiMinMessagingVersion = 5;
96 96
97 // Backward-compatibility version used by for the ScriptableObject 97 // Backward-compatibility version used by for the ScriptableObject
98 // interface. Should be updated whenever we remove support for 98 // interface. Should be updated whenever we remove support for
99 // an older version of the API. 99 // an older version of the API.
100 static const int kApiMinScriptableVersion = 2; 100 static const int kApiMinScriptableVersion = 2;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 pp::Var instance_object_; 197 pp::Var instance_object_;
198 198
199 scoped_ptr<ScopedThreadProxy> thread_proxy_; 199 scoped_ptr<ScopedThreadProxy> thread_proxy_;
200 200
201 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); 201 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance);
202 }; 202 };
203 203
204 } // namespace remoting 204 } // namespace remoting
205 205
206 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ 206 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/client/plugin/chromoting_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698