| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| index bda5974cea3445f459ca2cbfdd9959500a72d889..9a924b42d69073e40bc81524116215fff01a3bb3 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| @@ -61,7 +61,11 @@ public:
|
| ~ServiceWorkerGlobalScope() override;
|
| bool isServiceWorkerGlobalScope() const override { return true; }
|
|
|
| - void didLoadWorkerScript(size_t scriptSize, size_t cachedMetadataSize);
|
| + // Counts an evaluated script and its size. Called for each of the main
|
| + // worker script and imported scripts.
|
| + void countScript(size_t scriptSize, size_t cachedMetadataSize);
|
| +
|
| + // Called when the main worker script is evaluated.
|
| void didEvaluateWorkerScript();
|
|
|
| // ServiceWorkerGlobalScope.idl
|
|
|