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

Unified Diff: mojo/public/cpp/environment/task_tracker.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/cpp/environment/logging.h ('k') | mojo/public/cpp/environment/tests/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/environment/task_tracker.h
diff --git a/mojo/public/cpp/environment/task_tracker.h b/mojo/public/cpp/environment/task_tracker.h
deleted file mode 100644
index d6d3020d975fff1fd964dfde6df089d572e42cf4..0000000000000000000000000000000000000000
--- a/mojo/public/cpp/environment/task_tracker.h
+++ /dev/null
@@ -1,30 +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.
-
-#ifndef MOJO_PUBLIC_CPP_ENVIRONMENT_TASK_TRACKER_H_
-#define MOJO_PUBLIC_CPP_ENVIRONMENT_TASK_TRACKER_H_
-
-#include <stdint.h>
-
-namespace mojo {
-
-typedef intptr_t TaskTrackingId;
-
-// Interface for wiring task-level profiling. This API is mainly used by the
-// generated interface implementation.
-struct TaskTracker {
- // Start tracking. The returned id must be reclaimed through |EndTracking()|.
- TaskTrackingId (*StartTracking)(const char* function_name,
- const char* file_name,
- int line_number,
- const void* program_counter);
- // Finish tracking. The |id| is one that is returned from |StartTracking()|.
- void (*EndTracking)(const TaskTrackingId id);
- // Enable or disable tracking. It is disabled by default.
- void (*SetEnabled)(bool enabled);
-};
-
-} // namespace mojo
-
-#endif // MOJO_PUBLIC_CPP_ENVIRONMENT_TASK_TRACKER_H_
« no previous file with comments | « mojo/public/cpp/environment/logging.h ('k') | mojo/public/cpp/environment/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698