| Index: base/threading/thread_local_storage.h
|
| ===================================================================
|
| --- base/threading/thread_local_storage.h (revision 70315)
|
| +++ base/threading/thread_local_storage.h (working copy)
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef BASE_THREAD_LOCAL_STORAGE_H_
|
| -#define BASE_THREAD_LOCAL_STORAGE_H_
|
| +#ifndef BASE_THREADING_THREAD_LOCAL_STORAGE_H_
|
| +#define BASE_THREADING_THREAD_LOCAL_STORAGE_H_
|
| #pragma once
|
|
|
| #include "base/basictypes.h"
|
| @@ -12,6 +12,8 @@
|
| #include <pthread.h>
|
| #endif
|
|
|
| +namespace base {
|
| +
|
| // Wrapper for thread local storage. This class doesn't do much except provide
|
| // an API for portability.
|
| class ThreadLocalStorage {
|
| @@ -88,8 +90,6 @@
|
| DISALLOW_COPY_AND_ASSIGN(ThreadLocalStorage);
|
| };
|
|
|
| -// Temporary backwards-compatible name.
|
| -// TODO(evanm): replace all usage of TLSSlot.
|
| -typedef ThreadLocalStorage::Slot TLSSlot;
|
| +} // namespace base
|
|
|
| -#endif // BASE_THREAD_LOCAL_STORAGE_H_
|
| +#endif // BASE_THREADING_THREAD_LOCAL_STORAGE_H_
|
|
|