Split cert reporter class into report building/serializing and sending
[chromium-blink-merge.git] / mojo / environment / default_task_tracker_impl.cc
bloba53f1b9fe11d0a7a94625da440aa1d1198c6cfa3
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.
5 #include "mojo/environment/default_task_tracker_impl.h"
7 namespace mojo {
8 namespace internal {
9 namespace {
11 TaskTrackingId StartTracking(const char* function_name,
12 const char* file_name,
13 int line_number,
14 const void* program_counter) {
15 return TaskTrackingId(0);
18 void EndTracking(const TaskTrackingId id) {
21 void SetEnabled(bool enabled) {
24 const TaskTracker kDefaultTaskTracker = {&StartTracking,
25 &EndTracking,
26 &SetEnabled};
28 } // namespace
30 const TaskTracker* GetDefaultTaskTracker() {
31 return &kDefaultTaskTracker;
34 } // namespace internal
35 } // namespace mojo