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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp

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/loader/fetch/FetchContext.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp
index e7a9ba098e2f097b4575b5ece05017b1d71457af..8131a80fdd5d5738f118ce23c927793854a702cf 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp
@@ -30,8 +30,8 @@
#include "platform/loader/fetch/FetchContext.h"
-#include "platform/PlatformInstrumentationAgents.h"
-#include "platform/instrumentation/PlatformTraceEventsAgent.h"
+#include "platform/PlatformProbeSink.h"
+#include "platform/probe/PlatformTraceEventsAgent.h"
#include "public/platform/WebCachePolicy.h"
namespace blink {
@@ -41,14 +41,13 @@ FetchContext& FetchContext::nullInstance() {
return instance;
}
-FetchContext::FetchContext()
- : m_instrumentingAgents(new PlatformInstrumentationAgents) {
- m_instrumentingAgents->addPlatformTraceEventsAgent(
+FetchContext::FetchContext() : m_platformProbeSink(new PlatformProbeSink) {
+ m_platformProbeSink->addPlatformTraceEventsAgent(
new PlatformTraceEventsAgent);
}
DEFINE_TRACE(FetchContext) {
- visitor->trace(m_instrumentingAgents);
+ visitor->trace(m_platformProbeSink);
}
void FetchContext::dispatchDidChangeResourcePriority(unsigned long,

Powered by Google App Engine
This is Rietveld 408576698