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

Unified Diff: webkit/plugins/ppapi/ppb_transport_impl.h

Issue 7713021: Add SetProperty() in the PPB_Transport_Dev interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 4 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: webkit/plugins/ppapi/ppb_transport_impl.h
diff --git a/webkit/plugins/ppapi/ppb_transport_impl.h b/webkit/plugins/ppapi/ppb_transport_impl.h
index f1219cb9ca5874dd2953b7b37882a2400d13e435..1f35a5d3826e98ff744c880ca3d4b4a8c068c76b 100644
--- a/webkit/plugins/ppapi/ppb_transport_impl.h
+++ b/webkit/plugins/ppapi/ppb_transport_impl.h
@@ -34,6 +34,8 @@ class PPB_Transport_Impl : public Resource,
// PPB_Transport_API implementation.
virtual PP_Bool IsWritable() OVERRIDE;
+ virtual int32_t SetProperty(PP_TransportProperty property,
+ PP_Var value) OVERRIDE;
virtual int32_t Connect(PP_CompletionCallback callback) OVERRIDE;
virtual int32_t GetNextAddress(PP_Var* address,
PP_CompletionCallback callback) OVERRIDE;
@@ -59,6 +61,7 @@ class PPB_Transport_Impl : public Resource,
std::string name_;
bool use_tcp_;
+ webkit_glue::P2PTransport::Config config_;
bool started_;
scoped_ptr<webkit_glue::P2PTransport> p2p_transport_;
bool writable_;

Powered by Google App Engine
This is Rietveld 408576698