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

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, 10 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 985ff9864f7addef73a1226f688a1cfb7752a035..a336eb0219b264b9f61210021904d588811af32b 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 {
@@ -479,6 +480,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(

Powered by Google App Engine
This is Rietveld 408576698