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

Unified Diff: content/browser/net/browser_online_state_observer.cc

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « content/browser/mock_content_browser_client.cc ('k') | content/browser/plugin_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/net/browser_online_state_observer.cc
===================================================================
--- content/browser/net/browser_online_state_observer.cc (revision 110571)
+++ content/browser/net/browser_online_state_observer.cc (working copy)
@@ -4,8 +4,8 @@
#include "content/browser/net/browser_online_state_observer.h"
-#include "content/browser/renderer_host/render_process_host.h"
#include "content/common/view_messages.h"
+#include "content/browser/renderer_host/render_process_host_impl.h"
#include "net/base/network_change_notifier.h"
BrowserOnlineStateObserver::BrowserOnlineStateObserver() {
@@ -17,7 +17,8 @@
}
void BrowserOnlineStateObserver::OnOnlineStateChanged(bool online) {
- for (RenderProcessHost::iterator it(RenderProcessHost::AllHostsIterator());
+ for (content::RenderProcessHost::iterator it(
+ content::RenderProcessHost::AllHostsIterator());
!it.IsAtEnd(); it.Advance()) {
it.GetCurrentValue()->Send(new ViewMsg_NetworkStateChanged(online));
}
« no previous file with comments | « content/browser/mock_content_browser_client.cc ('k') | content/browser/plugin_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698