Chromium Code Reviews| Index: third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost.py |
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost.py |
| index 01f986278676bec7385065fc31a453fd3acee160..3e388d12ea7fd2729351ce9f7bd82e08c67845ff 100644 |
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost.py |
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost.py |
| @@ -29,6 +29,7 @@ |
| import os |
| import platform |
| import sys |
| +import time |
| from webkitpy.common.system import executive, filesystem, platforminfo, user, workspace |
| @@ -55,3 +56,7 @@ class SystemHost(object): |
| def exit(self, returncode): |
| sys.exit(returncode) |
| + |
| + @staticmethod |
| + def unixtime(): |
|
Dirk Pranke
2016/10/28 14:37:22
Don't use a @staticmethod, it doesn't really buy y
|
| + return time.time() |