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

Unified Diff: chrome/renderer/extensions/extension_dispatcher.h

Issue 8574012: Schedule idle handler based on CPU usage. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
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
Index: chrome/renderer/extensions/extension_dispatcher.h
diff --git a/chrome/renderer/extensions/extension_dispatcher.h b/chrome/renderer/extensions/extension_dispatcher.h
index 6f3289892293c46557f6ff9974fa8543007f7a88..6e3dbf71338e4323cae965e6aff1905c98f45f95 100644
--- a/chrome/renderer/extensions/extension_dispatcher.h
+++ b/chrome/renderer/extensions/extension_dispatcher.h
@@ -90,7 +90,6 @@ class ExtensionDispatcher : public content::RenderProcessObserver {
// RenderProcessObserver implementation:
virtual bool OnControlMessageReceived(const IPC::Message& message);
virtual void WebKitInitialized();
- virtual void IdleNotification();
void OnMessageInvoke(const std::string& extension_id,
const std::string& function_name,
@@ -144,10 +143,6 @@ class ExtensionDispatcher : public content::RenderProcessObserver {
scoped_ptr<UserScriptSlave> user_script_slave_;
- // Same as above, but on a longer timer and will run even if the process is
- // not idle, to ensure that IdleHandle gets called eventually.
- base::RepeatingTimer<content::RenderThread> forced_idle_timer_;
-
// The v8 extensions which are restricted to extension-related contexts.
std::set<std::string> restricted_v8_extensions_;

Powered by Google App Engine
This is Rietveld 408576698