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

Unified Diff: src/base/platform/semaphore.cc

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/semaphore.cc
diff --git a/src/platform/semaphore.cc b/src/base/platform/semaphore.cc
similarity index 96%
rename from src/platform/semaphore.cc
rename to src/base/platform/semaphore.cc
index 18264f4e3263e4adb163913f41f1ee800eb44e14..577d64161bb6631f39502ba1e1eef30dbf78305c 100644
--- a/src/platform/semaphore.cc
+++ b/src/base/platform/semaphore.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "src/platform/semaphore.h"
+#include "src/base/platform/semaphore.h"
#if V8_OS_MACOSX
#include <mach/mach_init.h>
@@ -11,11 +11,11 @@
#include <errno.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 {
#if V8_OS_MACOSX
@@ -188,4 +188,4 @@ bool Semaphore::WaitFor(const TimeDelta& rel_time) {
#endif // V8_OS_MACOSX
-} } // namespace v8::internal
+} } // namespace v8::base
« src/base/macros.h ('K') | « src/base/platform/semaphore.h ('k') | src/base/platform/time.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698