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

Unified Diff: mojo/public/cpp/environment/lib/scoped_task_tracking.cc

Issue 1426843004: Remove the task tracking stuff in the bindings. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/cpp/environment/lib/scoped_task_tracking.h ('k') | mojo/public/cpp/environment/task_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/environment/lib/scoped_task_tracking.cc
diff --git a/mojo/public/cpp/environment/lib/scoped_task_tracking.cc b/mojo/public/cpp/environment/lib/scoped_task_tracking.cc
deleted file mode 100644
index 9e253d5bd80e4e1edd003e09d21b8232c4fed8d0..0000000000000000000000000000000000000000
--- a/mojo/public/cpp/environment/lib/scoped_task_tracking.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "mojo/public/cpp/environment/lib/scoped_task_tracking.h"
-
-#include "mojo/public/cpp/environment/environment.h"
-
-namespace mojo {
-namespace internal {
-
-ScopedTaskTracking::ScopedTaskTracking(const char* function_name,
- const char* file_name,
- int line,
- const void* program_counter)
- : id_(Environment::GetDefaultTaskTracker()->StartTracking(
- function_name,
- file_name,
- line,
- program_counter)) {
-}
-
-ScopedTaskTracking::ScopedTaskTracking(const char* function_name,
- const char* file_name,
- int line)
- : id_(Environment::GetDefaultTaskTracker()->StartTracking(function_name,
- file_name,
- line,
- nullptr)) {
-}
-
-ScopedTaskTracking::~ScopedTaskTracking() {
- Environment::GetDefaultTaskTracker()->EndTracking(id_);
-}
-
-} // namespace internal
-} // namespace mojo
« no previous file with comments | « mojo/public/cpp/environment/lib/scoped_task_tracking.h ('k') | mojo/public/cpp/environment/task_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698