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

Unified Diff: third_party/WebKit/Source/core/dom/ExecutionContext.h

Issue 2847703002: Make ExecutionContext aware about how it can return CoreProbeSink (Closed)
Patch Set: . Created 3 years, 8 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/core/dom/ExecutionContext.h
diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.h b/third_party/WebKit/Source/core/dom/ExecutionContext.h
index f4c1aedbda219adf3835150714039930425fbb94..a93d37c27275b56119989325714aa655e65ac403 100644
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.h
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.h
@@ -43,14 +43,15 @@
namespace blink {
-class SuspendableObject;
class ConsoleMessage;
+class CoreProbeSink;
class DOMTimerCoordinator;
class ErrorEvent;
class EventQueue;
class EventTarget;
class ExecutionContextTask;
class LocalDOMWindow;
+class SuspendableObject;
class PublicURLManager;
class SecurityOrigin;
class ScriptState;
@@ -192,6 +193,8 @@ class CORE_EXPORT ExecutionContext : public ContextLifecycleNotifier,
void SetReferrerPolicy(ReferrerPolicy);
virtual ReferrerPolicy GetReferrerPolicy() const { return referrer_policy_; }
+ virtual CoreProbeSink* GetInstrumentingAgents() { return nullptr; }
dgozman 2017/04/28 00:06:38 Let's call this GetProbeSink. @alph: we should ren
kinuko 2017/04/28 03:16:26 Done.
+
protected:
ExecutionContext();
virtual ~ExecutionContext();

Powered by Google App Engine
This is Rietveld 408576698