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

Side by Side Diff: remoting/base/chromoting_event.h

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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_BASE_CHROMOTING_EVENT_H_ 5 #ifndef REMOTING_BASE_CHROMOTING_EVENT_H_
6 #define REMOTING_BASE_CHROMOTING_EVENT_H_ 6 #define REMOTING_BASE_CHROMOTING_EVENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 17 matching lines...) Expand all
28 MISSING_PLUGIN = 8, 28 MISSING_PLUGIN = 8,
29 AUTHENTICATION_FAILED = 9, 29 AUTHENTICATION_FAILED = 9,
30 BAD_VERSION = 10, 30 BAD_VERSION = 10,
31 HOST_OVERLOAD = 11, 31 HOST_OVERLOAD = 11,
32 P2P_FAILURE = 12, 32 P2P_FAILURE = 12,
33 UNEXPECTED = 13, 33 UNEXPECTED = 13,
34 CLIENT_SUSPENDED = 14, 34 CLIENT_SUSPENDED = 14,
35 NACL_DISABLED = 15, 35 NACL_DISABLED = 15,
36 MAX_SESSION_LENGTH = 16, 36 MAX_SESSION_LENGTH = 16,
37 HOST_CONFIGURATION_ERROR = 17, 37 HOST_CONFIGURATION_ERROR = 17,
38 NACL_PLUGIN_CRASHED = 18 38 NACL_PLUGIN_CRASHED = 18,
39 INVALID_ACCOUNT = 19
39 }; 40 };
40 41
41 enum class Mode { IT2ME = 1, ME2ME = 2 }; 42 enum class Mode { IT2ME = 1, ME2ME = 2 };
42 43
43 // macro defines from command line have polluted OS names like 44 // macro defines from command line have polluted OS names like
44 // "LINUX", "ANDROID", etc. 45 // "LINUX", "ANDROID", etc.
45 enum class Os { 46 enum class Os {
46 CHROMOTING_LINUX = 1, 47 CHROMOTING_LINUX = 1,
47 CHROMOTING_CHROMEOS = 2, 48 CHROMOTING_CHROMEOS = 2,
48 CHROMOTING_MAC = 3, 49 CHROMOTING_MAC = 3,
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 143
143 private: 144 private:
144 std::unique_ptr<base::DictionaryValue> values_map_; 145 std::unique_ptr<base::DictionaryValue> values_map_;
145 146
146 int send_attempts_ = 0; 147 int send_attempts_ = 0;
147 }; 148 };
148 149
149 } // namespace remoting 150 } // namespace remoting
150 151
151 #endif // REMOTING_BASE_CHROMOTING_EVENT_H_ 152 #endif // REMOTING_BASE_CHROMOTING_EVENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698