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

Unified Diff: content/browser/ppapi_plugin_process_host.h

Issue 7491024: Wire up the IP address change notification to the PPAPI network state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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 | « no previous file | content/browser/ppapi_plugin_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ppapi_plugin_process_host.h
===================================================================
--- content/browser/ppapi_plugin_process_host.h (revision 93640)
+++ content/browser/ppapi_plugin_process_host.h (working copy)
@@ -27,6 +27,7 @@
class PpapiPluginProcessHost
: public BrowserChildProcessHost,
+ public net::NetworkChangeNotifier::IPAddressObserver,
public net::NetworkChangeNotifier::OnlineStateObserver {
public:
class Client {
@@ -74,8 +75,11 @@
void CancelRequests();
+ // IPAddressObserver implementation.
+ virtual void OnIPAddressChanged() OVERRIDE;
+
// OnlineStateObserver implementation.
- virtual void OnOnlineStateChanged(bool online);
+ virtual void OnOnlineStateChanged(bool online) OVERRIDE;
// IPC message handlers.
void OnRendererPluginChannelCreated(const IPC::ChannelHandle& handle);
« no previous file with comments | « no previous file | content/browser/ppapi_plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698