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

Unified Diff: remoting/protocol/pepper_channel.h

Issue 8604001: Move SSL layer initialization into ChannelAuthenticator implementations. (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 side-by-side diff with in-line comments
Download patch
Index: remoting/protocol/pepper_channel.h
diff --git a/remoting/protocol/pepper_channel.h b/remoting/protocol/pepper_channel.h
index cb77b17d5cfac9a7c30202c3e53a133a81a55b3d..4ba07192f65b69f5496e90a73d2df64a32b47ec1 100644
--- a/remoting/protocol/pepper_channel.h
+++ b/remoting/protocol/pepper_channel.h
@@ -21,6 +21,7 @@ class Candidate;
namespace remoting {
namespace protocol {
+class ChannelAuthenticator;
struct TransportConfig;
// Interface for stream and datagram channels used by PepperSession.
@@ -29,10 +30,11 @@ class PepperChannel : public base::NonThreadSafe {
PepperChannel() { }
virtual ~PepperChannel() { }
- // Connect the channel using specified |config|.
+ // Connect the channel using specified |config|. Takes ownership of
+ // |authenticator|.
Wez 2011/11/22 22:29:48 nit: How is |pp_instance| used, and owned? How is
Sergey Ulanov 2011/11/23 01:23:42 There is always only one pp_instance per plugin, s
virtual void Connect(pp::Instance* pp_instance,
const TransportConfig& config,
- const std::string& remote_cert) = 0;
+ ChannelAuthenticator* authenticator) = 0;
// Adds |candidate| received from the peer.
virtual void AddRemoveCandidate(const cricket::Candidate& candidate) = 0;

Powered by Google App Engine
This is Rietveld 408576698