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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_PROCESS_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_PROCESS_OBSERVER_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_PROCESS_OBSERVER_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_PROCESS_OBSERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
(...skipping 17 matching lines...) Expand all
28 virtual void OnRenderProcessShutdown() {} 28 virtual void OnRenderProcessShutdown() {}
29 29
30 // Called right after the WebKit API is initialized. 30 // Called right after the WebKit API is initialized.
31 virtual void WebKitInitialized() {} 31 virtual void WebKitInitialized() {}
32 32
33 // Called when the renderer cache of the plug-in list has changed. 33 // Called when the renderer cache of the plug-in list has changed.
34 virtual void PluginListChanged() {} 34 virtual void PluginListChanged() {}
35 35
36 virtual void IdleNotification() {} 36 virtual void IdleNotification() {}
37 37
38 // Called when the network state changes.
39 virtual void NetworkStateChanged(bool online) {}
40
38 private: 41 private:
39 DISALLOW_COPY_AND_ASSIGN(RenderProcessObserver); 42 DISALLOW_COPY_AND_ASSIGN(RenderProcessObserver);
40 }; 43 };
41 44
42 } // namespace content 45 } // namespace content
43 46
44 #endif // CONTENT_PUBLIC_RENDERER_RENDER_PROCESS_OBSERVER_H_ 47 #endif // CONTENT_PUBLIC_RENDERER_RENDER_PROCESS_OBSERVER_H_
OLDNEW
« 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