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

Unified Diff: third_party/WebKit/public/web/WebTestingSupport.h

Issue 1936853002: Assert event timestamp to be monotonic and not from future Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change to histogram Created 4 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
« no previous file with comments | « third_party/WebKit/Source/wtf/testing/RunAllTests.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebTestingSupport.h
diff --git a/third_party/WebKit/public/web/WebTestingSupport.h b/third_party/WebKit/public/web/WebTestingSupport.h
index 0833b0b9ca8e94c289aafb79eebb4eb6b922f86c..1f33c9176c632c5e376baa3c7db15cfc6d82afb6 100644
--- a/third_party/WebKit/public/web/WebTestingSupport.h
+++ b/third_party/WebKit/public/web/WebTestingSupport.h
@@ -38,6 +38,9 @@ public:
static void injectInternalsObject(WebLocalFrame*);
static void resetInternalsObject(WebLocalFrame*);
static void injectInternalsObject(v8::Local<v8::Context>);
+
+ using TimeFunction = double (*)();
+ static void setMonotonicallyIncreasingTimeFunctionForTesting(TimeFunction);
};
}
« no previous file with comments | « third_party/WebKit/Source/wtf/testing/RunAllTests.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698