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

Side by Side Diff: mojo/environment/default_task_tracker_impl.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
« no previous file with comments | « mojo/environment/default_task_tracker_impl.h ('k') | mojo/environment/environment.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/environment/default_task_tracker_impl.h"
6
7 namespace mojo {
8 namespace internal {
9 namespace {
10
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);
16 }
17
18 void EndTracking(const TaskTrackingId id) {
19 }
20
21 void SetEnabled(bool enabled) {
22 }
23
24 const TaskTracker kDefaultTaskTracker = {&StartTracking,
25 &EndTracking,
26 &SetEnabled};
27
28 } // namespace
29
30 const TaskTracker* GetDefaultTaskTracker() {
31 return &kDefaultTaskTracker;
32 }
33
34 } // namespace internal
35 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/environment/default_task_tracker_impl.h ('k') | mojo/environment/environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698