Move TaskRunner and SynchronizedQueue to details
Bug: 36433220
Test: compiles
Test: hidl_test
Test: libhidl_test
Change-Id: Ia48bf9abba293f177ec2f6cfab49da5422a59b82
diff --git a/base/include/hidl/SynchronizedQueue.h b/base/include/hidl/SynchronizedQueue.h
index 80123ba..1813130 100644
--- a/base/include/hidl/SynchronizedQueue.h
+++ b/base/include/hidl/SynchronizedQueue.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef ANDROID_SYNCHRONIZED_QUEUE_H
-#define ANDROID_SYNCHRONIZED_QUEUE_H
+#ifndef ANDROID_HIDL_SYNCHRONIZED_QUEUE_H
+#define ANDROID_HIDL_SYNCHRONIZED_QUEUE_H
#include <condition_variable>
#include <mutex>
@@ -24,6 +24,7 @@
namespace android {
namespace hardware {
+namespace details {
/* Threadsafe queue.
*/
template <typename T>
@@ -100,7 +101,8 @@
mQueueLimit = limit;
}
+} // namespace details
} // namespace hardware
} // namespace android
-#endif
+#endif // ANDROID_HIDL_SYNCHRONIZED_QUEUE_H