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

Unified Diff: third_party/WebKit/Source/wtf/CurrentTime.cpp

Issue 2543663002: Provide simple wrappers for base/time types in WTF (Closed)
Patch Set: Consistent mocking Created 4 years 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/CurrentTime.h ('k') | third_party/WebKit/Source/wtf/Time.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/CurrentTime.cpp
diff --git a/third_party/WebKit/Source/wtf/CurrentTime.cpp b/third_party/WebKit/Source/wtf/CurrentTime.cpp
index 056104692fc6da284db7bcde47470d78f9ddbe30..71ffbcc5d04edd4fd199099724a0c67595da612b 100644
--- a/third_party/WebKit/Source/wtf/CurrentTime.cpp
+++ b/third_party/WebKit/Source/wtf/CurrentTime.cpp
@@ -55,4 +55,8 @@ TimeFunction setTimeFunctionsForTesting(TimeFunction newFunction) {
return oldFunction;
}
+TimeFunction getTimeFunctionForTesting() {
+ return mockTimeFunctionForTesting;
+}
+
} // namespace WTF
« no previous file with comments | « third_party/WebKit/Source/wtf/CurrentTime.h ('k') | third_party/WebKit/Source/wtf/Time.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698