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

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

Issue 8573013: Add CancelChannelCreation() in protocol::Session interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PEPPER_SESSION_H_ 5 #ifndef REMOTING_PROTOCOL_PEPPER_SESSION_H_
6 #define REMOTING_PROTOCOL_PEPPER_SESSION_H_ 6 #define REMOTING_PROTOCOL_PEPPER_SESSION_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 30 matching lines...) Expand all
41 // Session interface. 41 // Session interface.
42 virtual void SetStateChangeCallback( 42 virtual void SetStateChangeCallback(
43 const StateChangeCallback& callback) OVERRIDE; 43 const StateChangeCallback& callback) OVERRIDE;
44 virtual Error error() OVERRIDE; 44 virtual Error error() OVERRIDE;
45 virtual void CreateStreamChannel( 45 virtual void CreateStreamChannel(
46 const std::string& name, 46 const std::string& name,
47 const StreamChannelCallback& callback) OVERRIDE; 47 const StreamChannelCallback& callback) OVERRIDE;
48 virtual void CreateDatagramChannel( 48 virtual void CreateDatagramChannel(
49 const std::string& name, 49 const std::string& name,
50 const DatagramChannelCallback& callback) OVERRIDE; 50 const DatagramChannelCallback& callback) OVERRIDE;
51 virtual void CancelChannelCreation(const std::string& name) OVERRIDE;
51 virtual net::Socket* control_channel() OVERRIDE; 52 virtual net::Socket* control_channel() OVERRIDE;
52 virtual net::Socket* event_channel() OVERRIDE; 53 virtual net::Socket* event_channel() OVERRIDE;
53 virtual const std::string& jid() OVERRIDE; 54 virtual const std::string& jid() OVERRIDE;
54 virtual const CandidateSessionConfig* candidate_config() OVERRIDE; 55 virtual const CandidateSessionConfig* candidate_config() OVERRIDE;
55 virtual const SessionConfig& config() OVERRIDE; 56 virtual const SessionConfig& config() OVERRIDE;
56 virtual void set_config(const SessionConfig& config) OVERRIDE; 57 virtual void set_config(const SessionConfig& config) OVERRIDE;
57 virtual const std::string& initiator_token() OVERRIDE; 58 virtual const std::string& initiator_token() OVERRIDE;
58 virtual void set_initiator_token(const std::string& initiator_token) OVERRIDE; 59 virtual void set_initiator_token(const std::string& initiator_token) OVERRIDE;
59 virtual const std::string& receiver_token() OVERRIDE; 60 virtual const std::string& receiver_token() OVERRIDE;
60 virtual void set_receiver_token(const std::string& receiver_token) OVERRIDE; 61 virtual void set_receiver_token(const std::string& receiver_token) OVERRIDE;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 base::OneShotTimer<PepperSession> transport_infos_timer_; 144 base::OneShotTimer<PepperSession> transport_infos_timer_;
144 std::list<cricket::Candidate> pending_candidates_; 145 std::list<cricket::Candidate> pending_candidates_;
145 146
146 DISALLOW_COPY_AND_ASSIGN(PepperSession); 147 DISALLOW_COPY_AND_ASSIGN(PepperSession);
147 }; 148 };
148 149
149 } // namespace protocol 150 } // namespace protocol
150 } // namespace remoting 151 } // namespace remoting
151 152
152 #endif // REMOTING_PROTOCOL_PEPPER_SESSION_H_ 153 #endif // REMOTING_PROTOCOL_PEPPER_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698