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

Unified Diff: content/renderer/renderer_blink_platform_impl.h

Issue 1411843008: Make blink platform time consistent with the timer virtual time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months 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/renderer/renderer_blink_platform_impl.h
diff --git a/content/renderer/renderer_blink_platform_impl.h b/content/renderer/renderer_blink_platform_impl.h
index 235a66fdaabdfa11aa965b4185a9903205ba21c7..0331a6e2333501ec652f7b85d24ec7bf4681ac17 100644
--- a/content/renderer/renderer_blink_platform_impl.h
+++ b/content/renderer/renderer_blink_platform_impl.h
@@ -170,6 +170,8 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
void recordRappor(const char* metric,
const blink::WebString& sample) override;
void recordRapporURL(const char* metric, const blink::WebURL& url) override;
+ double currentTime() override;
+ double monotonicallyIncreasingTime() override;
// Set the PlatformEventObserverBase in |platform_event_observers_| associated
// with |type| to |observer|. If there was already an observer associated to
@@ -275,6 +277,8 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_;
+ scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED
+
DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
};

Powered by Google App Engine
This is Rietveld 408576698