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

Side by Side Diff: remoting/protocol/pepper_channel.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
« no previous file with comments | « remoting/protocol/jingle_session.cc ('k') | remoting/protocol/pepper_session.h » ('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) 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_CHANNEL_H_ 5 #ifndef REMOTING_PROTOCOL_PEPPER_CHANNEL_H_
6 #define REMOTING_PROTOCOL_PEPPER_CHANNEL_H_ 6 #define REMOTING_PROTOCOL_PEPPER_CHANNEL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 20 matching lines...) Expand all
31 31
32 // Connect the channel using specified |config|. 32 // Connect the channel using specified |config|.
33 virtual void Connect(pp::Instance* pp_instance, 33 virtual void Connect(pp::Instance* pp_instance,
34 const TransportConfig& config, 34 const TransportConfig& config,
35 const std::string& remote_cert) = 0; 35 const std::string& remote_cert) = 0;
36 36
37 // Adds |candidate| received from the peer. 37 // Adds |candidate| received from the peer.
38 virtual void AddRemoveCandidate(const cricket::Candidate& candidate) = 0; 38 virtual void AddRemoveCandidate(const cricket::Candidate& candidate) = 0;
39 39
40 // Name of the channel. 40 // Name of the channel.
41 virtual const std::string& name() = 0; 41 virtual const std::string& name() const = 0;
42
43 // returns true if the channel is already connected
44 virtual bool is_connected() const = 0;
42 45
43 protected: 46 protected:
44 DISALLOW_COPY_AND_ASSIGN(PepperChannel); 47 DISALLOW_COPY_AND_ASSIGN(PepperChannel);
45 }; 48 };
46 49
47 } // namespace protocol 50 } // namespace protocol
48 } // namespace remoting 51 } // namespace remoting
49 52
50 #endif // REMOTING_PROTOCOL_PEPPER_CHANNEL_H_ 53 #endif // REMOTING_PROTOCOL_PEPPER_CHANNEL_H_
OLDNEW
« no previous file with comments | « remoting/protocol/jingle_session.cc ('k') | remoting/protocol/pepper_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698