| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/metrics/stats_table.h" | 5 #include "base/metrics/stats_table.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/process_util.h" | 9 #include "base/process_util.h" |
| 10 #include "base/shared_memory.h" | 10 #include "base/shared_memory.h" |
| 11 #include "base/string_piece.h" | |
| 12 #include "base/string_util.h" | 11 #include "base/string_util.h" |
| 12 #include "base/strings/string_piece.h" |
| 13 #include "base/threading/platform_thread.h" | 13 #include "base/threading/platform_thread.h" |
| 14 #include "base/threading/thread_local_storage.h" | 14 #include "base/threading/thread_local_storage.h" |
| 15 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
| 16 | 16 |
| 17 #if defined(OS_POSIX) | 17 #if defined(OS_POSIX) |
| 18 #include "errno.h" | 18 #include "errno.h" |
| 19 #endif | 19 #endif |
| 20 | 20 |
| 21 namespace base { | 21 namespace base { |
| 22 | 22 |
| (...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 551 static_cast<TLSData*>(tls_index_.Get()); | 551 static_cast<TLSData*>(tls_index_.Get()); |
| 552 if (!data) | 552 if (!data) |
| 553 return NULL; | 553 return NULL; |
| 554 | 554 |
| 555 DCHECK(data->slot); | 555 DCHECK(data->slot); |
| 556 DCHECK_EQ(data->table, this); | 556 DCHECK_EQ(data->table, this); |
| 557 return data; | 557 return data; |
| 558 } | 558 } |
| 559 | 559 |
| 560 } // namespace base | 560 } // namespace base |
| OLD | NEW |