Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: mojo/public/cpp/environment/lib/default_task_tracker.cc

Issue 1765243002: Remove Mojo bindings environment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 #include "mojo/public/cpp/environment/lib/default_task_tracker.h"
6
7 #include "mojo/public/cpp/environment/task_tracker.h"
8
9 namespace mojo {
10
11 namespace {
12
13 //
14 // The standalone task tracker does nothing.
15 //
16
17 TaskTrackingId StartTracking(const char* function_name,
18 const char* file_name,
19 int line_number,
20 const void* program_counter) {
21 return TaskTrackingId(0);
22 }
23
24 void EndTracking(const TaskTrackingId id) {
25 }
26
27 void SetEnabled(bool enabled) {
28 }
29
30 } // namespace
31
32 namespace internal {
33
34 const TaskTracker kDefaultTaskTracker = {&StartTracking,
35 &EndTracking,
36 &SetEnabled};
37
38 } // namespace internal
39
40 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/environment/lib/default_task_tracker.h ('k') | mojo/public/cpp/environment/lib/environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698