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

Unified Diff: src/base/platform/elapsed-timer.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/elapsed-timer.h
diff --git a/src/platform/elapsed-timer.h b/src/base/platform/elapsed-timer.h
similarity index 90%
rename from src/platform/elapsed-timer.h
rename to src/base/platform/elapsed-timer.h
index 9955c3eaae0276ff5f66459d021dbb648ff44fb9..b525f05d13c3de42ac64a900803f0aa2f76ed24c 100644
--- a/src/platform/elapsed-timer.h
+++ b/src/base/platform/elapsed-timer.h
@@ -2,16 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef V8_PLATFORM_ELAPSED_TIMER_H_
-#define V8_PLATFORM_ELAPSED_TIMER_H_
+#ifndef V8_BASE_PLATFORM_ELAPSED_TIMER_H_
+#define V8_BASE_PLATFORM_ELAPSED_TIMER_H_
-#include "src/checks.h"
-#include "src/platform/time.h"
+#include "src/base/logging.h"
+#include "src/base/platform/time.h"
namespace v8 {
-namespace internal {
+namespace base {
-class ElapsedTimer V8_FINAL BASE_EMBEDDED {
+class ElapsedTimer V8_FINAL {
public:
#ifdef DEBUG
ElapsedTimer() : started_(false) {}
@@ -92,6 +92,6 @@ class ElapsedTimer V8_FINAL BASE_EMBEDDED {
#endif
};
-} } // namespace v8::internal
+} } // namespace v8::base
-#endif // V8_PLATFORM_ELAPSED_TIMER_H_
+#endif // V8_BASE_PLATFORM_ELAPSED_TIMER_H_

Powered by Google App Engine
This is Rietveld 408576698