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

Unified Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h

Issue 2355723005: Worker: Introduce WorkerReportingProxy::willEvaluateWorkerScript() (Closed)
Patch Set: fix comment Created 4 years, 3 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/web/ServiceWorkerGlobalScopeProxy.h
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h
index f8e0869219312f7009642507516fd66910b79dd6..3faf0079c72b158ae5cb6c10bcfc19a086e5897b 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h
@@ -87,9 +87,10 @@ public:
void reportException(const String& errorMessage, std::unique_ptr<SourceLocation>, int exceptionId) override;
void reportConsoleMessage(MessageSource, MessageLevel, const String& message, SourceLocation*) override;
void postMessageToPageInspector(const String&) override;
- void didLoadWorkerScript(size_t scriptSize, size_t cachedMetadataSize) override;
void didCreateWorkerGlobalScope(WorkerOrWorkletGlobalScope*) override;
void didInitializeWorkerContext() override;
+ void willEvaluateWorkerScript(size_t scriptSize, size_t cachedMetadataSize) override;
+ void willEvaluateImportedScript(size_t scriptSize, size_t cachedMetadataSize) override;
void didEvaluateWorkerScript(bool success) override;
void didCloseWorkerGlobalScope() override;
void willDestroyWorkerGlobalScope() override;

Powered by Google App Engine
This is Rietveld 408576698