Index: test/inspector/inspector-impl.h |
diff --git a/test/inspector/inspector-impl.h b/test/inspector/inspector-impl.h |
index f94bef159998b73d320aa8904223fddd0c735b16..e18f6d5e1a6f137dac0f878854450ff4e7150528 100644 |
--- a/test/inspector/inspector-impl.h |
+++ b/test/inspector/inspector-impl.h |
@@ -28,6 +28,8 @@ class InspectorClientImpl : public v8_inspector::V8InspectorClient { |
static v8_inspector::V8Inspector* InspectorFromContext( |
v8::Local<v8::Context> context); |
+ void setCurrentTimeMSForTest(double time); |
+ |
private: |
// V8InspectorClient implementation. |
v8::Local<v8::Context> ensureDefaultContextInGroup( |
@@ -54,6 +56,9 @@ class InspectorClientImpl : public v8_inspector::V8InspectorClient { |
TaskRunner* task_runner_; |
FrontendChannel* frontend_channel_; |
+ bool current_time_set_for_test_ = false; |
+ double current_time_ = 0.0; |
+ |
DISALLOW_COPY_AND_ASSIGN(InspectorClientImpl); |
}; |