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

Unified Diff: remoting/protocol/pepper_transport_factory.h

Issue 10160012: Pass TransportConfig to TransportFactory instead of Transport. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/libjingle_transport_factory.cc ('k') | remoting/protocol/pepper_transport_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/pepper_transport_factory.h
diff --git a/remoting/protocol/pepper_transport_factory.h b/remoting/protocol/pepper_transport_factory.h
index 94e7bbe98c8f16f5b9a946e338f38b159d234314..4678df9c9565a8f75077a890db4e48d971de00e0 100644
--- a/remoting/protocol/pepper_transport_factory.h
+++ b/remoting/protocol/pepper_transport_factory.h
@@ -6,6 +6,7 @@
#define REMOTING_PROTOCOL_PEPPER_TRANSPORT_FACTORY_H_
#include "remoting/protocol/transport.h"
+#include "remoting/protocol/transport_config.h"
namespace pp {
class Instance;
@@ -19,11 +20,14 @@ class PepperTransportFactory : public TransportFactory {
PepperTransportFactory(pp::Instance* pp_instance);
virtual ~PepperTransportFactory();
+ // TransportFactory interface.
+ virtual void SetTransportConfig(const TransportConfig& config) OVERRIDE;
virtual scoped_ptr<StreamTransport> CreateStreamTransport() OVERRIDE;
virtual scoped_ptr<DatagramTransport> CreateDatagramTransport() OVERRIDE;
private:
pp::Instance* pp_instance_;
+ TransportConfig config_;
DISALLOW_COPY_AND_ASSIGN(PepperTransportFactory);
};
« no previous file with comments | « remoting/protocol/libjingle_transport_factory.cc ('k') | remoting/protocol/pepper_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698