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

Unified Diff: content/test/mock_render_thread.h

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.h
diff --git a/content/test/mock_render_thread.h b/content/test/mock_render_thread.h
index bfae6c039bcf6c668c272c6afbe95bb1b1172cd4..28855cbe87d4eb1dce61b8219e6514e44e87a50b 100644
--- a/content/test/mock_render_thread.h
+++ b/content/test/mock_render_thread.h
@@ -56,11 +56,11 @@ class MockRenderThread : public content::RenderThread {
virtual void RegisterExtension(v8::Extension* extension) OVERRIDE;
virtual bool IsRegisteredExtension(
const std::string& v8_extension_name) const OVERRIDE;
- virtual void ScheduleIdleHandler(double initial_delay_s) OVERRIDE;
+ virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE;
virtual void IdleHandler() OVERRIDE;
- virtual double GetIdleNotificationDelayInS() const OVERRIDE;
- virtual void SetIdleNotificationDelayInS(
- double idle_notification_delay_in_s) OVERRIDE;
+ virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE;
+ virtual void SetIdleNotificationDelayInMs(
+ double idle_notification_delay_in_ms) OVERRIDE;
#if defined(OS_WIN)
virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE;
virtual void ReleaseCachedFonts() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698