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 ebb7f445307927598c46d2a5b1a654482584b97f..837ba55fa070f67c26177d81724b46c02cc86a3c 100644 |
--- a/content/public/renderer/content_renderer_client.h |
+++ b/content/public/renderer/content_renderer_client.h |
@@ -297,6 +297,12 @@ class CONTENT_EXPORT ContentRendererClient { |
virtual void AddImageContextMenuProperties( |
const blink::WebURLResponse& response, |
std::map<std::string, std::string>* properties) {} |
+ |
+ // Notifies that a service worker context has been created. This function |
+ // is called from the worker thread. |
+ virtual void DidInitializeServiceWorkerContextOnWorkerThread( |
+ v8::Local<v8::Context> context, |
+ const GURL& url) {} |
}; |
} // namespace content |