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

Side by Side Diff: remoting/protocol/errors.h

Issue 19506004: Add the beginnings of a Chromoting Android app (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minimize monitor use, concatenate using StringBuilder, tune host list spacing, make build target re… Created 7 years, 5 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/protocol/connection_to_host.h ('k') | remoting/remoting.gyp » ('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 #ifndef REMOTING_PROTOCOL_ERROR_H_ 5 #ifndef REMOTING_PROTOCOL_ERROR_H_
6 #define REMOTING_PROTOCOL_ERROR_H_ 6 #define REMOTING_PROTOCOL_ERROR_H_
7 7
8 namespace remoting { 8 namespace remoting {
9 namespace protocol { 9 namespace protocol {
10 10
11 // The UI implementations maintain corresponding definitions of this
12 // enumeration in webapp/error.js and android/java/res/values/strings.xml.
13 // Be sure to update these locations if you make any changes to the ordering.
11 enum ErrorCode { 14 enum ErrorCode {
12 OK = 0, 15 OK = 0,
13 PEER_IS_OFFLINE, 16 PEER_IS_OFFLINE,
14 SESSION_REJECTED, 17 SESSION_REJECTED,
15 INCOMPATIBLE_PROTOCOL, 18 INCOMPATIBLE_PROTOCOL,
16 AUTHENTICATION_FAILED, 19 AUTHENTICATION_FAILED,
17 CHANNEL_CONNECTION_ERROR, 20 CHANNEL_CONNECTION_ERROR,
18 SIGNALING_ERROR, 21 SIGNALING_ERROR,
19 SIGNALING_TIMEOUT, 22 SIGNALING_TIMEOUT,
20 HOST_OVERLOAD, 23 HOST_OVERLOAD,
21 UNKNOWN_ERROR, 24 UNKNOWN_ERROR,
22 }; 25 };
23 26
24 } // namespace protocol 27 } // namespace protocol
25 } // namespace remoting 28 } // namespace remoting
26 29
27 #endif // REMOTING_PROTOCOL_ERROR_H_ 30 #endif // REMOTING_PROTOCOL_ERROR_H_
OLDNEW
« no previous file with comments | « remoting/protocol/connection_to_host.h ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698