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

Unified Diff: native_client_sdk/src/libraries/gtest_ppapi/condition_lock.h

Issue 10854137: [NaCl SDK] gtest_ppapi library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove hacks Created 8 years, 4 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: native_client_sdk/src/libraries/gtest_ppapi/condition_lock.h
diff --git a/native_client_sdk/src/libraries/c_salt/threading/condition_lock.h b/native_client_sdk/src/libraries/gtest_ppapi/condition_lock.h
similarity index 96%
rename from native_client_sdk/src/libraries/c_salt/threading/condition_lock.h
rename to native_client_sdk/src/libraries/gtest_ppapi/condition_lock.h
index d50860c6cfc5baf11ba949a8990879e1cc95661d..927d55e08b06e3c12d9bac4169d44216283a1a41 100644
--- a/native_client_sdk/src/libraries/c_salt/threading/condition_lock.h
+++ b/native_client_sdk/src/libraries/gtest_ppapi/condition_lock.h
@@ -2,12 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONDITION_LOCK_H_
-#define CONDITION_LOCK_H_
+#ifndef GTEST_PPAPI_CONDITION_LOCK_H_
+#define GTEST_PPAPI_CONDITION_LOCK_H_
#include <pthread.h>
-namespace threading {
// Class to manage a lock associated with a specific value. The calling thread
// can ask to acquire the lock only when the lock is in a certain condition.
class ConditionLock {
@@ -83,7 +82,5 @@ class ConditionLock {
pthread_cond_t condition_condition_;
int32_t condition_value_;
};
-} // namespace threading
#endif // CONDITION_LOCK_H_
-

Powered by Google App Engine
This is Rietveld 408576698