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

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

Issue 2772613002: [instrumentation] Rename InspectorInstrumentation into CoreProbes (Closed)
Patch Set: fix typo 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/PlatformInstrumentation.h
diff --git a/third_party/WebKit/Source/platform/instrumentation/PlatformInstrumentation.h b/third_party/WebKit/Source/platform/instrumentation/PlatformInstrumentation.h
index a6f1e25dd084360bdfc9e81a7d368231d57a5ddb..7e6211a621a2e7cf136348abad556d59bf5c85b5 100644
--- a/third_party/WebKit/Source/platform/instrumentation/PlatformInstrumentation.h
+++ b/third_party/WebKit/Source/platform/instrumentation/PlatformInstrumentation.h
@@ -7,35 +7,10 @@
#include "platform/PlatformExport.h"
#include "platform/instrumentation/tracing/TraceEvent.h"
-#include "platform/loader/fetch/FetchContext.h"
+#include "wtf/text/WTFString.h"
namespace blink {
-class FetchContext;
-class PlatformInstrumentationAgents;
-
-namespace probe {
-
-class PLATFORM_EXPORT ProbeBase {
- STACK_ALLOCATED()
-
- public:
- double captureStartTime() const;
- double captureEndTime() const;
- double duration() const;
-
- private:
- mutable double m_startTime = 0;
- mutable double m_endTime = 0;
-};
-
-inline PlatformInstrumentationAgents* instrumentingAgentsFor(
- FetchContext* context) {
- return context->instrumentingAgents();
-}
-
-} // namespace probe
-
class PLATFORM_EXPORT PlatformInstrumentation {
public:
class LazyPixelRefTracker : TraceEvent::TraceScopedTrackableObject<void*> {
@@ -93,6 +68,4 @@ inline void PlatformInstrumentation::didDecodeLazyPixelRef() {
} // namespace blink
-#include "platform/PlatformInstrumentationInl.h"
-
#endif // PlatformInstrumentation_h

Powered by Google App Engine
This is Rietveld 408576698