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

Unified Diff: extensions/browser/process_manager.h

Issue 182253010: Register a Service Worker when an extension is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test passes! Don't know if it's right though Created 6 years, 9 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: extensions/browser/process_manager.h
diff --git a/extensions/browser/process_manager.h b/extensions/browser/process_manager.h
index 0ce67521235c1d64689e7df53eb713e47eb1bcf4..c9606bd5bf9dacbaae8c0837bfe293ac71cc5e55 100644
--- a/extensions/browser/process_manager.h
+++ b/extensions/browser/process_manager.h
@@ -55,8 +55,10 @@ class ProcessManager : public content::NotificationObserver {
// displayed anywhere. Returns false if no background host can be created,
// for example for hosted apps and extensions that aren't enabled in
// Incognito.
- virtual bool CreateBackgroundHost(const Extension* extension,
- const GURL& url);
+ virtual bool CreateBackgroundHost(
+ const Extension* extension,
+ const GURL& url,
+ const base::Closure& continuation = base::Closure());
// Gets the ExtensionHost for the background page for an extension, or NULL if
// the extension isn't running or doesn't have a background page.
« no previous file with comments | « content/renderer/service_worker/embedded_worker_dispatcher.cc ('k') | extensions/browser/process_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698