| Index: src/base/platform/condition-variable.h
|
| diff --git a/src/platform/condition-variable.h b/src/base/platform/condition-variable.h
|
| similarity index 90%
|
| rename from src/platform/condition-variable.h
|
| rename to src/base/platform/condition-variable.h
|
| index 4e8724cd27380279043a43f5c8267be04a727ed0..9855970eba6c55b22fc69f70de3cc52c154890de 100644
|
| --- a/src/platform/condition-variable.h
|
| +++ b/src/base/platform/condition-variable.h
|
| @@ -2,14 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef V8_PLATFORM_CONDITION_VARIABLE_H_
|
| -#define V8_PLATFORM_CONDITION_VARIABLE_H_
|
| +#ifndef V8_BASE_PLATFORM_CONDITION_VARIABLE_H_
|
| +#define V8_BASE_PLATFORM_CONDITION_VARIABLE_H_
|
|
|
| #include "src/base/lazy-instance.h"
|
| -#include "src/platform/mutex.h"
|
| +#include "src/base/platform/mutex.h"
|
|
|
| namespace v8 {
|
| -namespace internal {
|
| +namespace base {
|
|
|
| // Forward declarations.
|
| class ConditionVariableEvent;
|
| @@ -107,12 +107,12 @@ class ConditionVariable V8_FINAL {
|
| // LockGuard<Mutex> lock_guard(&my_mutex);
|
| // my_condvar.Pointer()->Wait(&my_mutex);
|
| // }
|
| -typedef base::LazyStaticInstance<
|
| - ConditionVariable, base::DefaultConstructTrait<ConditionVariable>,
|
| - base::ThreadSafeInitOnceTrait>::type LazyConditionVariable;
|
| +typedef LazyStaticInstance<
|
| + ConditionVariable, DefaultConstructTrait<ConditionVariable>,
|
| + ThreadSafeInitOnceTrait>::type LazyConditionVariable;
|
|
|
| #define LAZY_CONDITION_VARIABLE_INITIALIZER LAZY_STATIC_INSTANCE_INITIALIZER
|
|
|
| -} } // namespace v8::internal
|
| +} } // namespace v8::base
|
|
|
| -#endif // V8_PLATFORM_CONDITION_VARIABLE_H_
|
| +#endif // V8_BASE_PLATFORM_CONDITION_VARIABLE_H_
|
|
|