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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 136203009: Support auto-reload on errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: MockableOneShotTimer -> base::Timer (now mockable!) Created 6 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
« no previous file with comments | « content/public/renderer/render_process_observer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 8ae38b4d37569d17b4a91794989ecd5b14620919..47662bb15f0929e37da18be1069d8472bcf85126 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -1344,6 +1344,8 @@ void RenderThreadImpl::OnPurgePluginListCache(bool reload_pages) {
void RenderThreadImpl::OnNetworkStateChanged(bool online) {
EnsureWebKitInitialized();
WebNetworkStateNotifier::setOnLine(online);
+ FOR_EACH_OBSERVER(RenderProcessObserver, observers_,
+ NetworkStateChanged(online));
}
void RenderThreadImpl::OnTempCrashWithData(const GURL& data) {
« no previous file with comments | « content/public/renderer/render_process_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698