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

Unified Diff: chrome/browser/extensions/extension_module.h

Issue 9791011: Add experimental.alarms API to allow lazy background pages to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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: chrome/browser/extensions/extension_module.h
diff --git a/chrome/browser/extensions/extension_module.h b/chrome/browser/extensions/extension_module.h
index f44a5a451bcbd94da0b6c90b33076c25bdc6812e..1683fa76fc0d6199c7085dd48c11490b0d69daa1 100644
--- a/chrome/browser/extensions/extension_module.h
+++ b/chrome/browser/extensions/extension_module.h
@@ -10,6 +10,13 @@
class ExtensionPrefs;
+class ExtensionModuleEventRouter {
+ public:
+ // Dispatches the onInstalled event to the given extension.
+ static void DispatchOnInstalledEvent(Profile* profile,
+ const Extension* extension);
+};
+
class SetUpdateUrlDataFunction : public SyncExtensionFunction {
protected:
virtual bool RunImpl() OVERRIDE;
@@ -30,4 +37,5 @@ class IsAllowedFileSchemeAccessFunction : public SyncExtensionFunction {
virtual bool RunImpl() OVERRIDE;
DECLARE_EXTENSION_FUNCTION_NAME("extension.isAllowedFileSchemeAccess");
};
+
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MODULE_H__
« no previous file with comments | « chrome/browser/extensions/extension_function_registry.cc ('k') | chrome/browser/extensions/extension_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698