| Index: base/time/time.h
|
| diff --git a/base/time/time.h b/base/time/time.h
|
| index 1989dbf8f27758e0643a3732859bcb62aca672c2..03bf4be154f4feb956f9d347ad58a2427a26a630 100644
|
| --- a/base/time/time.h
|
| +++ b/base/time/time.h
|
| @@ -74,12 +74,12 @@
|
| // For FILETIME in FromFileTime, until it moves to a new converter class.
|
| // See TODO(iyengar) below.
|
| #include <windows.h>
|
| -
|
| #include "base/gtest_prod_util.h"
|
| #endif
|
|
|
| namespace base {
|
|
|
| +class PlatformThreadHandle;
|
| class TimeDelta;
|
|
|
| // The functions in the time_internal namespace are meant to be used only by the
|
| @@ -749,6 +749,13 @@ class BASE_EXPORT ThreadTicks : public time_internal::TimeBase<ThreadTicks> {
|
| // absolutely needed, call WaitUntilInitialized() before this method.
|
| static ThreadTicks Now();
|
|
|
| +#if defined(OS_WIN)
|
| + // Overload of Now() that returns thread-specific CPU time for an arbitrary
|
| + // thread. All comments for default version of Now() above apply to this
|
| + // method as well.
|
| + static ThreadTicks Now(const PlatformThreadHandle& thread_handle);
|
| +#endif
|
| +
|
| private:
|
| friend class time_internal::TimeBase<ThreadTicks>;
|
|
|
|
|