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

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

Issue 10854040: Add hooks to content to request permission to connect to the PPAPI broker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: brett Created 8 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/plugin_delegate.h
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index 7418070f3b258666a5c55c2e9cacb4e6c8e37969..3e75cc575445e71e4a69dbc3f5ed79ac313312be 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -299,12 +299,10 @@ class PluginDelegate {
// Provides access to the ppapi broker.
class Broker {
public:
- virtual void Connect(webkit::ppapi::PPB_Broker_Impl* client) = 0;
-
// Decrements the references to the broker.
// When there are no more references, this renderer's dispatcher is
// destroyed, allowing the broker to shutdown if appropriate.
- // Callers should not reference this object after calling Disconnect.
+ // Callers should not reference this object after calling Disconnect().
virtual void Disconnect(webkit::ppapi::PPB_Broker_Impl* client) = 0;
protected:
@@ -404,7 +402,7 @@ class PluginDelegate {
// A pointer is returned immediately, but it is not ready to be used until
// BrokerConnected has been called.
- // The caller is responsible for calling Release() on the returned pointer
+ // The caller is responsible for calling Disconnect() on the returned pointer
// to clean up the corresponding resources allocated during this call.
virtual Broker* ConnectToBroker(webkit::ppapi::PPB_Broker_Impl* client) = 0;

Powered by Google App Engine
This is Rietveld 408576698