Index: mojo/environment/buffer_tls_impl.h |
diff --git a/mojo/environment/buffer_tls_impl.h b/mojo/environment/buffer_tls_impl.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3d241967ac275e210405d2fc40a0a4a87a674b17 |
--- /dev/null |
+++ b/mojo/environment/buffer_tls_impl.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2014 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 MOJO_ENVIRONMENT_BUFFER_TLS_IMPL_H_ |
+#define MOJO_ENVIRONMENT_BUFFER_TLS_IMPL_H_ |
+ |
+#include "mojo/environment/mojo_environment_impl_export.h" |
+ |
+namespace mojo { |
+class Buffer; |
+ |
+namespace internal { |
+ |
+MOJO_ENVIRONMENT_IMPL_EXPORT Buffer* GetCurrentBufferImpl(); |
+MOJO_ENVIRONMENT_IMPL_EXPORT Buffer* SetCurrentBufferImpl(Buffer* buffer); |
+ |
+} // namespace internal |
+} // namespace mojo |
+ |
+#endif // MOJO_ENVIRONMENT_BUFFER_TLS_IMPL_H_ |