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

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

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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
Index: third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tracking.cc
diff --git a/third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tracking.cc b/third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tracking.cc
deleted file mode 100644
index d132b09e2c4819b99ee073e5b02c40895de4563e..0000000000000000000000000000000000000000
--- a/third_party/mojo/src/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 "third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tracking.h"
-
-#include "third_party/mojo/src/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

Powered by Google App Engine
This is Rietveld 408576698