OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 "third_party/mojo/src/mojo/public/cpp/environment/lib/default_task_trac
ker.h" | 5 #include "mojo/public/cpp/environment/lib/default_task_tracker.h" |
6 | 6 |
7 #include "third_party/mojo/src/mojo/public/cpp/environment/task_tracker.h" | 7 #include "mojo/public/cpp/environment/task_tracker.h" |
8 | 8 |
9 namespace mojo { | 9 namespace mojo { |
10 | 10 |
11 namespace { | 11 namespace { |
12 | 12 |
13 // | 13 // |
14 // The standalone task tracker does nothing. | 14 // The standalone task tracker does nothing. |
15 // | 15 // |
16 | 16 |
17 TaskTrackingId StartTracking(const char* function_name, | 17 TaskTrackingId StartTracking(const char* function_name, |
(...skipping 13 matching lines...) Expand all Loading... |
31 | 31 |
32 namespace internal { | 32 namespace internal { |
33 | 33 |
34 const TaskTracker kDefaultTaskTracker = {&StartTracking, | 34 const TaskTracker kDefaultTaskTracker = {&StartTracking, |
35 &EndTracking, | 35 &EndTracking, |
36 &SetEnabled}; | 36 &SetEnabled}; |
37 | 37 |
38 } // namespace internal | 38 } // namespace internal |
39 | 39 |
40 } // namespace mojo | 40 } // namespace mojo |
OLD | NEW |