| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef MOJO_COMMON_TASK_TRACKER_H_ | |
| 6 #define MOJO_COMMON_TASK_TRACKER_H_ | |
| 7 | |
| 8 #include <stdint.h> | |
| 9 | |
| 10 namespace mojo { | |
| 11 namespace common { | |
| 12 | |
| 13 class TaskTracker { | |
| 14 public: | |
| 15 static intptr_t StartTracking(const char* function_name, | |
| 16 const char* file_name, | |
| 17 int line_number, | |
| 18 const void* program_counter); | |
| 19 static void EndTracking(intptr_t id); | |
| 20 static void Enable(); | |
| 21 }; | |
| 22 | |
| 23 } // namespace common | |
| 24 } // namespace mojo | |
| 25 | |
| 26 #endif // MOJO_COMMON_TASK_TRACKER_H_ | |
| OLD | NEW |