Turn NotificationPresenter into an abstract base class
This will allow us to have Mac-specific member variables without a bunch of ifdefs.
This commit is contained in:
parent
3c41af84a1
commit
651ab18a21
6 changed files with 42 additions and 19 deletions
|
@ -22,7 +22,7 @@ BrowserContext* BrowserClient::browser_context() {
|
|||
|
||||
NotificationPresenter* BrowserClient::notification_presenter() {
|
||||
if (!notification_presenter_)
|
||||
notification_presenter_.reset(new NotificationPresenter);
|
||||
notification_presenter_.reset(NotificationPresenter::Create());
|
||||
return notification_presenter_.get();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue