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

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

Issue 9557006: Implement PPB_NetworkMonitor_Private Pepper interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 55850722f9171405176c78d7efbcf8705f062b9c..9de72bc48a7d7c9bf4f6535dac3b754147a0ba6c 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -71,6 +71,7 @@ struct WebFileChooserParams;
namespace webkit_glue {
class ClipboardClient;
class P2PTransport;
+class NetworkListObserver;
} // namespace webkit_glue
namespace webkit {
@@ -482,6 +483,12 @@ class PluginDelegate {
virtual void TCPServerSocketStopListening(uint32 real_socket_id,
uint32 temp_socket_id) = 0;
+ // Add/remove a network list observer.
+ virtual bool AddNetworkListObserver(
+ webkit_glue::NetworkListObserver* observer) = 0;
+ virtual void RemoveNetworkListObserver(
+ webkit_glue::NetworkListObserver* observer) = 0;
+
// Show the given context menu at the given position (in the plugin's
// coordinates).
virtual int32_t ShowContextMenu(
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppb_network_monitor_private_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698