set notification close callback before requesting user permission
This commit is contained in:
parent
4fdca64030
commit
ee4442f964
4 changed files with 33 additions and 35 deletions
|
@ -34,6 +34,9 @@ class Notification {
|
|||
void NotificationDismissed();
|
||||
void NotificationFailed();
|
||||
|
||||
// delete this.
|
||||
void Destroy();
|
||||
|
||||
base::WeakPtr<Notification> GetWeakPtr() {
|
||||
return weak_factory_.GetWeakPtr();
|
||||
}
|
||||
|
@ -46,9 +49,6 @@ class Notification {
|
|||
NotificationPresenter* presenter);
|
||||
virtual ~Notification();
|
||||
|
||||
// delete this.
|
||||
void Destroy();
|
||||
|
||||
private:
|
||||
friend class NotificationPresenter;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue