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

Unified Diff: native_client_sdk/src/libraries/gtest_ppapi/thread_condition.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/thread_condition.h
diff --git a/native_client_sdk/src/libraries/c_salt/threading/thread_condition.h b/native_client_sdk/src/libraries/gtest_ppapi/thread_condition.h
similarity index 89%
rename from native_client_sdk/src/libraries/c_salt/threading/thread_condition.h
rename to native_client_sdk/src/libraries/gtest_ppapi/thread_condition.h
index 19c63999ce260e5fa4dd3390701b5ec92c747867..285a5bafb040d0ad47aa7d660627269dd0b15792 100644
--- a/native_client_sdk/src/libraries/c_salt/threading/thread_condition.h
+++ b/native_client_sdk/src/libraries/gtest_ppapi/thread_condition.h
@@ -2,15 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef THREAD_CONDITION_H_
-#define THREAD_CONDITION_H_
+#ifndef GTEST_PPAPI_THREAD_CONDITION_H_
+#define GTEST_PPAPI_THREAD_CONDITION_H_
-#include "c_salt/threading/pthread_ext.h"
+#include "gtest_ppapi/pthread_ext.h"
struct timespec;
-namespace c_salt {
-namespace threading {
// A wrapper class for condition signaling. Contains a mutex and condition
// pair.
class ThreadCondition {
@@ -69,8 +67,5 @@ class ThreadCondition {
pthread_mutex_t cond_mutex_;
pthread_cond_t condition_;
};
-} // namespace threading
-} // namespace c_salt
-
-#endif // THREAD_CONDITION_H_
+#endif // GTEST_PPAPI_THREAD_CONDITION_H_
« no previous file with comments | « native_client_sdk/src/libraries/gtest_ppapi/scoped_mutex_lock.h ('k') | native_client_sdk/src/libraries/scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698