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

Unified Diff: content/public/renderer/render_process_observer.h

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 | « chrome/renderer/net/net_error_helper_core_unittest.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_process_observer.h
diff --git a/content/public/renderer/render_process_observer.h b/content/public/renderer/render_process_observer.h
index 1067567dc34ad4b3fa5bd1a207dd8db044761d64..de23dae1468fe083c27d7a5c255ba6540b978f01 100644
--- a/content/public/renderer/render_process_observer.h
+++ b/content/public/renderer/render_process_observer.h
@@ -35,6 +35,9 @@ class CONTENT_EXPORT RenderProcessObserver {
virtual void IdleNotification() {}
+ // Called when the network state changes.
+ virtual void NetworkStateChanged(bool online) {}
+
private:
DISALLOW_COPY_AND_ASSIGN(RenderProcessObserver);
};
« no previous file with comments | « chrome/renderer/net/net_error_helper_core_unittest.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698