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

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

Issue 1987163002: Add DOMAIN_MISMATCH message end to end (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add TODO in Jingle session Created 4 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
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 #include "remoting/client/plugin/chromoting_instance.h" 5 #include "remoting/client/plugin/chromoting_instance.h"
6 6
7 #include <nacl_io/nacl_io.h> 7 #include <nacl_io/nacl_io.h>
8 #include <sys/mount.h> 8 #include <sys/mount.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 case protocol::OK: 112 case protocol::OK:
113 return "NONE"; 113 return "NONE";
114 114
115 case protocol::PEER_IS_OFFLINE: 115 case protocol::PEER_IS_OFFLINE:
116 return "HOST_IS_OFFLINE"; 116 return "HOST_IS_OFFLINE";
117 117
118 case protocol::SESSION_REJECTED: 118 case protocol::SESSION_REJECTED:
119 case protocol::AUTHENTICATION_FAILED: 119 case protocol::AUTHENTICATION_FAILED:
120 return "SESSION_REJECTED"; 120 return "SESSION_REJECTED";
121 121
122 case protocol::INVALID_ACCOUNT:
123 return "INVALID_ACCOUNT";
124
122 case protocol::INCOMPATIBLE_PROTOCOL: 125 case protocol::INCOMPATIBLE_PROTOCOL:
123 return "INCOMPATIBLE_PROTOCOL"; 126 return "INCOMPATIBLE_PROTOCOL";
124 127
125 case protocol::HOST_OVERLOAD: 128 case protocol::HOST_OVERLOAD:
126 return "HOST_OVERLOAD"; 129 return "HOST_OVERLOAD";
127 130
128 case protocol::MAX_SESSION_LENGTH: 131 case protocol::MAX_SESSION_LENGTH:
129 return "MAX_SESSION_LENGTH"; 132 return "MAX_SESSION_LENGTH";
130 133
131 case protocol::HOST_CONFIGURATION_ERROR: 134 case protocol::HOST_CONFIGURATION_ERROR:
(...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after
1114 if (is_custom_counts_histogram) { 1117 if (is_custom_counts_histogram) {
1115 uma.HistogramCustomCounts(histogram_name, value, histogram_min, 1118 uma.HistogramCustomCounts(histogram_name, value, histogram_min,
1116 histogram_max, histogram_buckets); 1119 histogram_max, histogram_buckets);
1117 } else { 1120 } else {
1118 uma.HistogramCustomTimes(histogram_name, value, histogram_min, 1121 uma.HistogramCustomTimes(histogram_name, value, histogram_min,
1119 histogram_max, histogram_buckets); 1122 histogram_max, histogram_buckets);
1120 } 1123 }
1121 } 1124 }
1122 1125
1123 } // namespace remoting 1126 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/ios/build/localizable_string_id_list.txt ('k') | remoting/client/server_log_entry_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698