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

Unified Diff: content/test/mock_render_thread.cc

Issue 8463019: Convert render thread idle delays from seconds to milliseconds. (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 3d9e3951a1dbdf9f012075ebb261f1833db2cb4e..eca409e1e333fb699a7567b90bed5ab8a3a53f8d 100644
--- a/content/test/mock_render_thread.cc
+++ b/content/test/mock_render_thread.cc
@@ -127,18 +127,18 @@ bool MockRenderThread::IsRegisteredExtension(
return false;
}
-void MockRenderThread::ScheduleIdleHandler(double initial_delay_s) {
+void MockRenderThread::ScheduleIdleHandler(int64 initial_delay_ms) {
}
void MockRenderThread::IdleHandler() {
}
-double MockRenderThread::GetIdleNotificationDelayInS() const {
- return 0.0;
+int64 MockRenderThread::GetIdleNotificationDelayInMs() const {
+ return 0;
}
-void MockRenderThread::SetIdleNotificationDelayInS(
- double idle_notification_delay_in_s) {
+void MockRenderThread::SetIdleNotificationDelayInMs(
+ int64 idle_notification_delay_in_ms) {
}
#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