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

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: Address comments, fix compile error in test_support_content. 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
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/test/mock_render_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4223ab2ac03c724ca819d8db717f98bd63d610d7 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(
+ int64 idle_notification_delay_in_ms) OVERRIDE;
#if defined(OS_WIN)
virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE;
virtual void ReleaseCachedFonts() OVERRIDE;
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/test/mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698