| 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 1900f397befb2d52a751b1a8e7f625eaa078d782..d96adc9a82a7067f2874fff2a3d1f4694e5c62bc 100644
|
| --- a/content/public/renderer/content_renderer_client.h
|
| +++ b/content/public/renderer/content_renderer_client.h
|
| @@ -343,6 +343,11 @@ class CONTENT_EXPORT ContentRendererClient {
|
| // Whether this renderer should enforce preferences related to the WebRTC
|
| // routing logic, i.e. allowing multiple routes and non-proxied UDP.
|
| virtual bool ShouldEnforceWebRTCRoutingPreferences();
|
| +
|
| + // Notifies that a worker context has been created. This function is called
|
| + // from the worker thread.
|
| + virtual void DidInitializeWorkerContextOnWorkerThread(
|
| + v8::Local<v8::Context> context) {}
|
| };
|
|
|
| } // namespace content
|
|
|