| Index: content/public/renderer/content_renderer_client.h
|
| diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
|
| index aa1957b4736fcfd79942c814b3ad0f0ff4936a16..f245dc5f3fd245cd84aede51945861bfeffb967a 100644
|
| --- a/content/public/renderer/content_renderer_client.h
|
| +++ b/content/public/renderer/content_renderer_client.h
|
| @@ -331,17 +331,22 @@ class CONTENT_EXPORT ContentRendererClient {
|
| // is called from the worker thread.
|
| virtual void DidInitializeServiceWorkerContextOnWorkerThread(
|
| v8::Local<v8::Context> context,
|
| + int embedded_worker_id,
|
| const GURL& url) {}
|
|
|
| // Notifies that a service worker context will be destroyed. This function
|
| // is called from the worker thread.
|
| virtual void WillDestroyServiceWorkerContextOnWorkerThread(
|
| v8::Local<v8::Context> context,
|
| + int embedded_worker_id,
|
| const GURL& url) {}
|
|
|
| // Whether this renderer should enforce preferences related to the WebRTC
|
| // routing logic, i.e. allowing multiple routes and non-proxied UDP.
|
| virtual bool ShouldEnforceWebRTCRoutingPreferences();
|
| +
|
| + // Asks the renderer to install V8 extension for service workers.
|
| + virtual void InstallV8ExtensionForServiceWorkers() {}
|
| };
|
|
|
| } // namespace content
|
|
|