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

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
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..86270d764ca15e23734918f6b5a5c6ec39a8068a 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();
+ virtual void SetConfig(const TransportConfig& config) OVERRIDE;
Wez 2012/04/27 23:49:15 nit: Precede this with // TransportFactory interfa
Sergey Ulanov 2012/04/28 00:18:19 Done.
+
virtual scoped_ptr<StreamTransport> CreateStreamTransport() OVERRIDE;
virtual scoped_ptr<DatagramTransport> CreateDatagramTransport() OVERRIDE;
private:
pp::Instance* pp_instance_;
+ TransportConfig config_;
DISALLOW_COPY_AND_ASSIGN(PepperTransportFactory);
};

Powered by Google App Engine
This is Rietveld 408576698