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

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

Issue 9860045: Address remaining nits for r129104. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 }; 74 };
75 75
76 // These values are duplicated in the JS code. Remember to update 76 // These values are duplicated in the JS code. Remember to update
77 // both copies when making changes. 77 // both copies when making changes.
78 enum ConnectionError { 78 enum ConnectionError {
79 ERROR_NONE = 0, 79 ERROR_NONE = 0,
80 ERROR_HOST_IS_OFFLINE, 80 ERROR_HOST_IS_OFFLINE,
81 ERROR_SESSION_REJECTED, 81 ERROR_SESSION_REJECTED,
82 ERROR_INCOMPATIBLE_PROTOCOL, 82 ERROR_INCOMPATIBLE_PROTOCOL,
83 ERROR_NETWORK_FAILURE, 83 ERROR_NETWORK_FAILURE,
84 ERROR_HOST_IS_DISABLED, 84 ERROR_HOST_OVERLOAD,
85 }; 85 };
86 86
87 // Plugin API version. This should be incremented whenever the API 87 // Plugin API version. This should be incremented whenever the API
88 // interface changes. 88 // interface changes.
89 static const int kApiVersion = 5; 89 static const int kApiVersion = 5;
90 90
91 // Backward-compatibility version used by for the messaging 91 // Backward-compatibility version used by for the messaging
92 // interface. Should be updated whenever we remove support for 92 // interface. Should be updated whenever we remove support for
93 // an older version of the API. 93 // an older version of the API.
94 static const int kApiMinMessagingVersion = 5; 94 static const int kApiMinMessagingVersion = 5;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 pp::Var instance_object_; 195 pp::Var instance_object_;
196 196
197 scoped_ptr<ScopedThreadProxy> thread_proxy_; 197 scoped_ptr<ScopedThreadProxy> thread_proxy_;
198 198
199 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); 199 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance);
200 }; 200 };
201 201
202 } // namespace remoting 202 } // namespace remoting
203 203
204 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ 204 #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