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

Unified Diff: base/thread_local_posix.cc

Issue 4744002: Move base::ThreadLocalPlatform to base::internal::ThreadLocalPlatform. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update crash signature. Created 10 years, 1 month 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
« no previous file with comments | « base/thread_local.h ('k') | base/thread_local_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/thread_local_posix.cc
diff --git a/base/thread_local_posix.cc b/base/thread_local_posix.cc
index 2abfc0e5c078951eafe7d833da9c4dea4585af45..4d034030634a7a0ce48b8bc4e4684cf22e91be71 100644
--- a/base/thread_local_posix.cc
+++ b/base/thread_local_posix.cc
@@ -10,6 +10,8 @@
namespace base {
+namespace internal {
+
// static
void ThreadLocalPlatform::AllocateSlot(SlotType& slot) {
int error = pthread_key_create(&slot, NULL);
@@ -33,4 +35,6 @@ void ThreadLocalPlatform::SetValueInSlot(SlotType& slot, void* value) {
CHECK_EQ(error, 0);
}
+} // namespace internal
+
} // namespace base
« no previous file with comments | « base/thread_local.h ('k') | base/thread_local_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698