mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Fix cpp lint errors
This commit is contained in:
@@ -7,19 +7,19 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace brightray {
|
||||
|
||||
class NotificationDelegate {
|
||||
public:
|
||||
// The native Notification object is destroyed.
|
||||
virtual void NotificationDestroyed() {}
|
||||
|
||||
// Failed to send the notification.
|
||||
virtual void NotificationFailed() {}
|
||||
|
||||
// Notification was replied to
|
||||
virtual void NotificationReplied(const std::string& reply) {}
|
||||
virtual void NotificationAction(int index) {}
|
||||
namespace brightray {
|
||||
|
||||
class NotificationDelegate {
|
||||
public:
|
||||
// The native Notification object is destroyed.
|
||||
virtual void NotificationDestroyed() {}
|
||||
|
||||
// Failed to send the notification.
|
||||
virtual void NotificationFailed() {}
|
||||
|
||||
// Notification was replied to
|
||||
virtual void NotificationReplied(const std::string& reply) {}
|
||||
virtual void NotificationAction(int index) {}
|
||||
|
||||
virtual void NotificationClick() {}
|
||||
virtual void NotificationClosed() {}
|
||||
@@ -28,8 +28,8 @@ class NotificationDelegate {
|
||||
protected:
|
||||
NotificationDelegate() = default;
|
||||
~NotificationDelegate() = default;
|
||||
};
|
||||
|
||||
} // namespace brightray
|
||||
|
||||
#endif // BRIGHTRAY_BROWSER_NOTIFICATION_DELEGATE_H_
|
||||
};
|
||||
|
||||
} // namespace brightray
|
||||
|
||||
#endif // BRIGHTRAY_BROWSER_NOTIFICATION_DELEGATE_H_
|
||||
|
||||
Reference in New Issue
Block a user