| Index: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
|
| diff --git a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
|
| index 99ba37f85c0409f7035b58d4c7dd2bf66da3aa05..e06bd92e04e3881741618a188d8e91d9a705c073 100644
|
| --- a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
|
| +++ b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
|
| @@ -100,6 +100,10 @@ class WebServiceWorkerContextClient {
|
| // Called when the worker context is initialized.
|
| virtual void didInitializeWorkerContext(v8::Local<v8::Context> context) {}
|
|
|
| + // Called when some API to be recorded in UseCounter is called on the worker
|
| + // global scope.
|
| + virtual void countFeature(uint32_t feature) {}
|
| +
|
| // Called when the WorkerGlobalScope had an error or an exception.
|
| virtual void reportException(const WebString& errorMessage,
|
| int lineNumber,
|
|
|