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

Unified Diff: native_client_sdk/src/libraries/gtest_ppapi/ref_count.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/ref_count.h
diff --git a/native_client_sdk/src/libraries/c_salt/threading/ref_count.h b/native_client_sdk/src/libraries/gtest_ppapi/ref_count.h
similarity index 84%
rename from native_client_sdk/src/libraries/c_salt/threading/ref_count.h
rename to native_client_sdk/src/libraries/gtest_ppapi/ref_count.h
index 0efae61513c08d7620c8830c7573725646b9b267..e0d89a255af61ed865625ddc034aa85f778d24b6 100644
--- a/native_client_sdk/src/libraries/c_salt/threading/ref_count.h
+++ b/native_client_sdk/src/libraries/gtest_ppapi/ref_count.h
@@ -1,12 +1,10 @@
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REF_COUNT_H_
-#define REF_COUNT_H_
+#ifndef GTEST_PPAPI_REF_COUNT_H_
+#define GTEST_PPAPI_REF_COUNT_H_
-#include "c_salt/threading/pthread_ext.h"
-
-namespace threading {
+#include "gtest_ppapi/pthread_ext.h"
// A thread-safe reference counter for class CompletionCallbackFactory.
class RefCount {
@@ -41,6 +39,4 @@ class RefCount {
pthread_mutex_t mutex_;
};
-} // namespace threading
-#endif // REF_COUNT_H_
-
+#endif // GTEST_PPAPI_REF_COUNT_H_

Powered by Google App Engine
This is Rietveld 408576698