Coding style fixes

This commit is contained in:
Cheng Zhao 2017-05-31 16:17:29 +09:00
parent 227a2bd5dc
commit 5fa2831756
7 changed files with 23 additions and 33 deletions

View file

@ -20,6 +20,8 @@ class NotificationPresenter;
class Notification {
public:
virtual ~Notification();
// Shows the notification.
virtual void Show(const base::string16& title,
const base::string16& msg,
@ -45,6 +47,7 @@ class Notification {
return weak_factory_.GetWeakPtr();
}
void set_delegate(NotificationDelegate* delegate) { delegate_ = delegate; }
NotificationDelegate* delegate() const { return delegate_; }
NotificationPresenter* presenter() const { return presenter_; }
@ -52,10 +55,6 @@ class Notification {
Notification(NotificationDelegate* delegate,
NotificationPresenter* presenter);
public:
virtual ~Notification();
void set_delegate(NotificationDelegate* delegate);
private:
NotificationDelegate* delegate_;
NotificationPresenter* presenter_;