| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // Activity tracking provides a low-overhead method of collecting information | 5 // Activity tracking provides a low-overhead method of collecting information |
| 6 // about the state of the application for analysis both while it is running | 6 // about the state of the application for analysis both while it is running |
| 7 // and after it has terminated unexpectedly. Its primary purpose is to help | 7 // and after it has terminated unexpectedly. Its primary purpose is to help |
| 8 // locate reasons the browser becomes unresponsive by providing insight into | 8 // locate reasons the browser becomes unresponsive by providing insight into |
| 9 // what all the various threads and processes are (or were) doing. | 9 // what all the various threads and processes are (or were) doing. |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "base/threading/platform_thread.h" | 26 #include "base/threading/platform_thread.h" |
| 27 #include "base/threading/thread_checker.h" | 27 #include "base/threading/thread_checker.h" |
| 28 #include "base/threading/thread_local_storage.h" | 28 #include "base/threading/thread_local_storage.h" |
| 29 | 29 |
| 30 namespace base { | 30 namespace base { |
| 31 | 31 |
| 32 struct PendingTask; | 32 struct PendingTask; |
| 33 | 33 |
| 34 class FilePath; | 34 class FilePath; |
| 35 class Lock; | 35 class Lock; |
| 36 class MemoryMappedFile; | |
| 37 class PlatformThreadHandle; | 36 class PlatformThreadHandle; |
| 38 class Process; | 37 class Process; |
| 39 class WaitableEvent; | 38 class WaitableEvent; |
| 40 | 39 |
| 41 namespace debug { | 40 namespace debug { |
| 42 | 41 |
| 43 class ThreadActivityTracker; | 42 class ThreadActivityTracker; |
| 44 | 43 |
| 45 | 44 |
| 46 enum : int { | 45 enum : int { |
| (...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 explicit ScopedProcessWaitActivity(const base::Process* process); | 656 explicit ScopedProcessWaitActivity(const base::Process* process); |
| 658 private: | 657 private: |
| 659 DISALLOW_COPY_AND_ASSIGN(ScopedProcessWaitActivity); | 658 DISALLOW_COPY_AND_ASSIGN(ScopedProcessWaitActivity); |
| 660 }; | 659 }; |
| 661 #endif | 660 #endif |
| 662 | 661 |
| 663 } // namespace debug | 662 } // namespace debug |
| 664 } // namespace base | 663 } // namespace base |
| 665 | 664 |
| 666 #endif // BASE_DEBUG_ACTIVITY_TRACKER_H_ | 665 #endif // BASE_DEBUG_ACTIVITY_TRACKER_H_ |
| OLD | NEW |