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

Unified Diff: third_party/WebKit/Source/platform/instrumentation/PlatformTraceEventsAgent.h

Issue 2760363002: [instrumentation] Generalize instrumentation to be used beyond the core layer (Closed)
Patch Set: Created 3 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
Index: third_party/WebKit/Source/platform/instrumentation/PlatformTraceEventsAgent.h
diff --git a/third_party/WebKit/Source/platform/instrumentation/PlatformTraceEventsAgent.h b/third_party/WebKit/Source/platform/instrumentation/PlatformTraceEventsAgent.h
new file mode 100644
index 0000000000000000000000000000000000000000..9428d66240b7efc99291fa984834e9a156234cd9
--- /dev/null
+++ b/third_party/WebKit/Source/platform/instrumentation/PlatformTraceEventsAgent.h
@@ -0,0 +1,29 @@
+// Copyright 2017 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 PlatformTraceEventsAgent_h
+#define PlatformTraceEventsAgent_h
+
+#include "platform/PlatformExport.h"
+#include "platform/heap/Heap.h"
+#include "platform/instrumentation/tracing/TraceEvent.h"
+
+namespace blink {
+
+namespace probe {
+class PlatformSendRequest;
+}
+
+class PLATFORM_EXPORT PlatformTraceEventsAgent
+ : public GarbageCollected<PlatformTraceEventsAgent> {
+ public:
+ DEFINE_INLINE_TRACE() {}
+
+ void will(const probe::PlatformSendRequest&);
+ void did(const probe::PlatformSendRequest&);
+};
+
+} // namespace blink
+
+#endif // !defined(PlatformTraceEventsAgent_h)

Powered by Google App Engine
This is Rietveld 408576698