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

Unified Diff: compat/win/time.h

Issue 1119783005: win: get tools/crashpad_database_util mostly working (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: roll Created 5 years, 7 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
Index: compat/win/time.h
diff --git a/test/thread.cc b/compat/win/time.h
similarity index 71%
copy from test/thread.cc
copy to compat/win/time.h
index baeeafa632152c4edd71aa04be6a4d32a0824d2e..78cf67fa99fd4622039e6e390eef1bb2807c4bb5 100644
--- a/test/thread.cc
+++ b/compat/win/time.h
@@ -12,19 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "test/thread.h"
+#ifndef CRASHPAD_COMPAT_WIN_TIME_H_
+#define CRASHPAD_COMPAT_WIN_TIME_H_
-#include "gtest/gtest.h"
+#include <../include/time.h>
-namespace crashpad {
-namespace test {
+const char *strptime(const char* buf, const char* format, struct tm* tm);
-Thread::Thread() : platform_thread_(0) {
-}
+time_t timegm(struct tm* tm);
-Thread::~Thread() {
- EXPECT_FALSE(platform_thread_);
-}
-
-} // namespace test
-} // namespace crashpad
+#endif // CRASHPAD_COMPAT_WIN_TIME_H_

Powered by Google App Engine
This is Rietveld 408576698