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

Unified Diff: content/test/mock_render_thread.cc

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: content/test/mock_render_thread.cc
diff --git a/content/test/mock_render_thread.cc b/content/test/mock_render_thread.cc
index eca409e1e333fb699a7567b90bed5ab8a3a53f8d..6d5037c2bf14efa96cf594ca6ba09d1e1c8cd977 100644
--- a/content/test/mock_render_thread.cc
+++ b/content/test/mock_render_thread.cc
@@ -127,18 +127,7 @@ bool MockRenderThread::IsRegisteredExtension(
return false;
}
-void MockRenderThread::ScheduleIdleHandler(int64 initial_delay_ms) {
-}
-
-void MockRenderThread::IdleHandler() {
-}
-
-int64 MockRenderThread::GetIdleNotificationDelayInMs() const {
- return 0;
-}
-
-void MockRenderThread::SetIdleNotificationDelayInMs(
- int64 idle_notification_delay_in_ms) {
+void MockRenderThread::ResetIdleTimer() {
}
#if defined(OS_WIN)
« content/renderer/render_thread_impl.cc ('K') | « content/test/mock_render_thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698