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

Unified Diff: src/base/platform/time.h

Issue 358363002: Move platform abstraction to base library (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 6 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: src/base/platform/time.h
diff --git a/src/platform/time.h b/src/base/platform/time.h
similarity index 98%
rename from src/platform/time.h
rename to src/base/platform/time.h
index d21e85d15a5fcdea271c48448be1a35c09438c78..aed03b10eba2ce086ad5a33f39214b2c0d97a748 100644
--- a/src/platform/time.h
+++ b/src/base/platform/time.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef V8_PLATFORM_TIME_H_
-#define V8_PLATFORM_TIME_H_
+#ifndef V8_BASE_PLATFORM_TIME_H_
+#define V8_BASE_PLATFORM_TIME_H_
#include <time.h>
#include <limits>
@@ -19,7 +19,7 @@ struct timeval;
}
namespace v8 {
-namespace internal {
+namespace base {
class Time;
class TimeTicks;
@@ -388,6 +388,6 @@ inline TimeTicks operator+(const TimeDelta& delta, const TimeTicks& ticks) {
return ticks + delta;
}
-} } // namespace v8::internal
+} } // namespace v8::base
-#endif // V8_PLATFORM_TIME_H_
+#endif // V8_BASE_PLATFORM_TIME_H_

Powered by Google App Engine
This is Rietveld 408576698