| Index: chrome/browser/extensions/extension_context_menu_api.h
|
| diff --git a/chrome/browser/extensions/extension_context_menu_api.h b/chrome/browser/extensions/extension_context_menu_api.h
|
| index 5562bc70d5f2dabf5b4e26e3c570ed8f21c36072..a7b1694a74431c1c1355b0cb23d83eceec925b44 100644
|
| --- a/chrome/browser/extensions/extension_context_menu_api.h
|
| +++ b/chrome/browser/extensions/extension_context_menu_api.h
|
| @@ -15,7 +15,7 @@ class ExtensionMenuItem;
|
|
|
| class ExtensionContextMenuFunction : public SyncExtensionFunction {
|
| public:
|
| - ~ExtensionContextMenuFunction() {}
|
| + virtual ~ExtensionContextMenuFunction() {}
|
|
|
| protected:
|
| // Helper function to read and parse a list of menu item contexts.
|
| @@ -60,25 +60,25 @@ class ExtensionContextMenuFunction : public SyncExtensionFunction {
|
| };
|
|
|
| class CreateContextMenuFunction : public ExtensionContextMenuFunction {
|
| - ~CreateContextMenuFunction() {}
|
| + virtual ~CreateContextMenuFunction() {}
|
| virtual bool RunImpl();
|
| DECLARE_EXTENSION_FUNCTION_NAME("contextMenus.create")
|
| };
|
|
|
| class UpdateContextMenuFunction : public ExtensionContextMenuFunction {
|
| - ~UpdateContextMenuFunction() {}
|
| + virtual ~UpdateContextMenuFunction() {}
|
| virtual bool RunImpl();
|
| DECLARE_EXTENSION_FUNCTION_NAME("contextMenus.update")
|
| };
|
|
|
| class RemoveContextMenuFunction : public ExtensionContextMenuFunction {
|
| - ~RemoveContextMenuFunction() {}
|
| + virtual ~RemoveContextMenuFunction() {}
|
| virtual bool RunImpl();
|
| DECLARE_EXTENSION_FUNCTION_NAME("contextMenus.remove")
|
| };
|
|
|
| class RemoveAllContextMenusFunction : public ExtensionContextMenuFunction {
|
| - ~RemoveAllContextMenusFunction() {}
|
| + virtual ~RemoveAllContextMenusFunction() {}
|
| virtual bool RunImpl();
|
| DECLARE_EXTENSION_FUNCTION_NAME("contextMenus.removeAll")
|
| };
|
|
|