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

Side by Side Diff: remoting/protocol/jingle_messages.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 (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_JINGLE_MESSAGES_H_ 5 #ifndef REMOTING_PROTOCOL_JINGLE_MESSAGES_H_
6 #define REMOTING_PROTOCOL_JINGLE_MESSAGES_H_ 6 #define REMOTING_PROTOCOL_JINGLE_MESSAGES_H_
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 18 matching lines...) Expand all
29 29
30 enum Reason { 30 enum Reason {
31 UNKNOWN_REASON, 31 UNKNOWN_REASON,
32 SUCCESS, 32 SUCCESS,
33 DECLINE, 33 DECLINE,
34 CANCEL, 34 CANCEL,
35 EXPIRED, 35 EXPIRED,
36 GENERAL_ERROR, 36 GENERAL_ERROR,
37 FAILED_APPLICATION, 37 FAILED_APPLICATION,
38 INCOMPATIBLE_PARAMETERS, 38 INCOMPATIBLE_PARAMETERS,
39 SECURITY_ERROR,
39 }; 40 };
40 41
41 42
42 JingleMessage(); 43 JingleMessage();
43 JingleMessage(const std::string& to_value, 44 JingleMessage(const std::string& to_value,
44 ActionType action_value, 45 ActionType action_value,
45 const std::string& sid_value); 46 const std::string& sid_value);
46 ~JingleMessage(); 47 ~JingleMessage();
47 48
48 // Caller keeps ownership of |stanza|. 49 // Caller keeps ownership of |stanza|.
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 std::unique_ptr<buzz::XmlElement> ToXml() const; 135 std::unique_ptr<buzz::XmlElement> ToXml() const;
135 136
136 std::list<IceCredentials> ice_credentials; 137 std::list<IceCredentials> ice_credentials;
137 std::list<NamedCandidate> candidates; 138 std::list<NamedCandidate> candidates;
138 }; 139 };
139 140
140 } // protocol 141 } // protocol
141 } // remoting 142 } // remoting
142 143
143 #endif // REMOTING_PROTOCOL_JINGLE_MESSAGES_H_ 144 #endif // REMOTING_PROTOCOL_JINGLE_MESSAGES_H_
OLDNEW
« no previous file with comments | « remoting/protocol/it2me_host_authenticator_factory.cc ('k') | remoting/protocol/jingle_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698