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

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
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/plugins/ppapi/ppb_transport_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e49153b8e876426f001551666b1d48198b1884d0..e4fe025518eac5fae4939ec6210a92a67774b125 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 ::ppapi::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 ::ppapi::Resource,
std::string name_;
bool use_tcp_;
+ webkit_glue::P2PTransport::Config config_;
bool started_;
scoped_ptr<webkit_glue::P2PTransport> p2p_transport_;
bool writable_;
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/plugins/ppapi/ppb_transport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698