| Index: util/win/time.h
|
| diff --git a/util/test/scoped_temp_dir.cc b/util/win/time.h
|
| similarity index 73%
|
| copy from util/test/scoped_temp_dir.cc
|
| copy to util/win/time.h
|
| index a2f8d251430fde0adc2227365c539f34ab6d335d..e61a8461bf987c45fd38bc7452633529ae159c83 100644
|
| --- a/util/test/scoped_temp_dir.cc
|
| +++ b/util/win/time.h
|
| @@ -12,17 +12,16 @@
|
| // See the License for the specific language governing permissions and
|
| // limitations under the License.
|
|
|
| -#include "util/test/scoped_temp_dir.h"
|
| +#ifndef CRASHPAD_UTIL_WIN_TIME_H_
|
| +#define CRASHPAD_UTIL_WIN_TIME_H_
|
|
|
| -namespace crashpad {
|
| -namespace test {
|
| +#include <sys/time.h>
|
|
|
| -ScopedTempDir::ScopedTempDir() : path_(CreateTemporaryDirectory()) {
|
| -}
|
| +namespace crashpad {
|
|
|
| -ScopedTempDir::~ScopedTempDir() {
|
| - RecursivelyDeleteTemporaryDirectory(path());
|
| -}
|
| +//! \brief Similar to POSIX gettimeofday(), gets the current system time in UTC.
|
| +void GetTimeOfDay(timeval* tv);
|
|
|
| -} // namespace test
|
| } // namespace crashpad
|
| +
|
| +#endif // CRASHPAD_UTIL_WIN_TIME_H_
|
|
|