protected:
NotificationsApiFunction();
- virtual ~NotificationsApiFunction();
+ ~NotificationsApiFunction() override;
bool CreateNotification(const std::string& id,
api::notifications::NotificationOptions* options);
virtual bool RunNotificationsApi() = 0;
// UITHreadExtensionFunction:
- virtual bool RunAsync() OVERRIDE;
+ bool RunAsync() override;
message_center::NotificationType MapApiTemplateTypeToType(
api::notifications::TemplateType type);
NotificationsCreateFunction();
// NotificationsApiFunction:
- virtual bool RunNotificationsApi() OVERRIDE;
+ bool RunNotificationsApi() override;
protected:
- virtual ~NotificationsCreateFunction();
+ ~NotificationsCreateFunction() override;
private:
scoped_ptr<api::notifications::Create::Params> params_;
NotificationsUpdateFunction();
// NotificationsApiFunction:
- virtual bool RunNotificationsApi() OVERRIDE;
+ bool RunNotificationsApi() override;
protected:
- virtual ~NotificationsUpdateFunction();
+ ~NotificationsUpdateFunction() override;
private:
scoped_ptr<api::notifications::Update::Params> params_;
NotificationsClearFunction();
// NotificationsApiFunction:
- virtual bool RunNotificationsApi() OVERRIDE;
+ bool RunNotificationsApi() override;
protected:
- virtual ~NotificationsClearFunction();
+ ~NotificationsClearFunction() override;
private:
scoped_ptr<api::notifications::Clear::Params> params_;
NotificationsGetAllFunction();
// NotificationsApiFunction:
- virtual bool RunNotificationsApi() OVERRIDE;
+ bool RunNotificationsApi() override;
protected:
- virtual ~NotificationsGetAllFunction();
+ ~NotificationsGetAllFunction() override;
private:
DECLARE_EXTENSION_FUNCTION("notifications.getAll", NOTIFICATIONS_GET_ALL)
NotificationsGetPermissionLevelFunction();
// NotificationsApiFunction:
- virtual bool CanRunWhileDisabled() const OVERRIDE;
- virtual bool RunNotificationsApi() OVERRIDE;
+ bool CanRunWhileDisabled() const override;
+ bool RunNotificationsApi() override;
protected:
- virtual ~NotificationsGetPermissionLevelFunction();
+ ~NotificationsGetPermissionLevelFunction() override;
private:
DECLARE_EXTENSION_FUNCTION("notifications.getPermissionLevel",