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

Unified Diff: sky/engine/public/platform/Platform.h

Issue 893503002: Remove unused trace sampling states (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/platform/testing/RunAllTests.cpp ('k') | sky/viewer/platform/platform_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/public/platform/Platform.h
diff --git a/sky/engine/public/platform/Platform.h b/sky/engine/public/platform/Platform.h
index 8923902ad604e17b7f0cb990aed2f5a04ea3c321..bf2528fb626af356c65765743242ccd16b70ac94 100644
--- a/sky/engine/public/platform/Platform.h
+++ b/sky/engine/public/platform/Platform.h
@@ -234,14 +234,6 @@ public:
// addTraceEvent is expected to be called by the trace event macros.
virtual const unsigned char* getTraceCategoryEnabledFlag(const char* categoryName) { return 0; }
- typedef long int TraceEventAPIAtomicWord;
-
- // Get a pointer to a global state of the given thread. An embedder is
- // expected to update the global state as the state of the embedder changes.
- // A sampling thread in the Chromium side reads the global state periodically
- // and reflects the sampling profiled results into about:tracing.
- virtual TraceEventAPIAtomicWord* getTraceSamplingState(const unsigned bucketName) { return 0; }
-
typedef uint64_t TraceEventHandle;
// Add a trace event to the platform tracing system. Depending on the actual
« no previous file with comments | « sky/engine/platform/testing/RunAllTests.cpp ('k') | sky/viewer/platform/platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698