Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #ifndef BASE_TRACKED_OBJECTS_H_ | 5 #ifndef BASE_TRACKED_OBJECTS_H_ |
| 6 #define BASE_TRACKED_OBJECTS_H_ | 6 #define BASE_TRACKED_OBJECTS_H_ |
| 7 | 7 |
| 8 //------------------------------------------------------------------------------ | 8 //------------------------------------------------------------------------------ |
|
M-A Ruel
2009/06/03 14:28:37
Remove that useless waste of bytes.
| |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/lock.h" | 13 #include "base/lock.h" |
| 14 #include "base/message_loop.h" | 14 #include "base/task.h" |
| 15 #include "base/thread_local_storage.h" | 15 #include "base/thread_local_storage.h" |
| 16 #include "base/tracked.h" | 16 #include "base/tracked.h" |
| 17 | 17 |
| 18 class MessageLoop; | |
| 18 | 19 |
| 19 namespace tracked_objects { | 20 namespace tracked_objects { |
| 20 | 21 |
| 21 //------------------------------------------------------------------------------ | 22 //------------------------------------------------------------------------------ |
| 22 // For a specific thread, and a specific birth place, the collection of all | 23 // For a specific thread, and a specific birth place, the collection of all |
| 23 // death info (with tallies for each death thread, to prevent access conflicts). | 24 // death info (with tallies for each death thread, to prevent access conflicts). |
| 24 class ThreadData; | 25 class ThreadData; |
| 25 class BirthOnThread { | 26 class BirthOnThread { |
| 26 public: | 27 public: |
| 27 explicit BirthOnThread(const Location& location); | 28 explicit BirthOnThread(const Location& location); |
| (...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 505 } | 506 } |
| 506 | 507 |
| 507 private: | 508 private: |
| 508 DISALLOW_COPY_AND_ASSIGN(AutoTracking); | 509 DISALLOW_COPY_AND_ASSIGN(AutoTracking); |
| 509 }; | 510 }; |
| 510 | 511 |
| 511 | 512 |
| 512 } // namespace tracked_objects | 513 } // namespace tracked_objects |
| 513 | 514 |
| 514 #endif // BASE_TRACKED_OBJECTS_H_ | 515 #endif // BASE_TRACKED_OBJECTS_H_ |
| OLD | NEW |