Fix change of ShowDesktopNotification API
This commit is contained in:
parent
f8a9348bcf
commit
02d632c4f7
2 changed files with 4 additions and 2 deletions
|
@ -69,7 +69,8 @@ net::URLRequestContextGetter* BrowserClient::CreateRequestContext(
|
||||||
|
|
||||||
void BrowserClient::ShowDesktopNotification(
|
void BrowserClient::ShowDesktopNotification(
|
||||||
const content::ShowDesktopNotificationHostMsgParams& params,
|
const content::ShowDesktopNotificationHostMsgParams& params,
|
||||||
content::RenderFrameHost* render_frame_host,
|
content::BrowserContext* browser_context,
|
||||||
|
int render_process_id,
|
||||||
scoped_ptr<content::DesktopNotificationDelegate> delegate,
|
scoped_ptr<content::DesktopNotificationDelegate> delegate,
|
||||||
base::Closure* cancel_callback) {
|
base::Closure* cancel_callback) {
|
||||||
auto presenter = notification_presenter();
|
auto presenter = notification_presenter();
|
||||||
|
|
|
@ -43,7 +43,8 @@ class BrowserClient : public content::ContentBrowserClient {
|
||||||
const content::MainFunctionParams&) override;
|
const content::MainFunctionParams&) override;
|
||||||
void ShowDesktopNotification(
|
void ShowDesktopNotification(
|
||||||
const content::ShowDesktopNotificationHostMsgParams& params,
|
const content::ShowDesktopNotificationHostMsgParams& params,
|
||||||
content::RenderFrameHost* render_frame_host,
|
content::BrowserContext* browser_context,
|
||||||
|
int render_process_id,
|
||||||
scoped_ptr<content::DesktopNotificationDelegate> delegate,
|
scoped_ptr<content::DesktopNotificationDelegate> delegate,
|
||||||
base::Closure* cancel_callback) override;
|
base::Closure* cancel_callback) override;
|
||||||
content::MediaObserver* GetMediaObserver() override;
|
content::MediaObserver* GetMediaObserver() override;
|
||||||
|
|
Loading…
Reference in a new issue