Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(540)

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 1256323008: [Extension ServiceWorkers] Chrome: Passing v8::context to extensions dispatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..ce6779ab622ab8f3d397dabb39b4a844671cfbe7 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 on the worker
Devlin 2015/07/31 16:24:32 Let's make this say "Notifies that a service worke
annekao 2015/07/31 17:13:33 Done.
+ // thread.
+ virtual void DidInitializeServiceWorkerContextOnWorkerThread(
+ v8::Local<v8::Context> context,
+ const GURL& url) {}
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698