Fix change of ShowDesktopNotification API

This commit is contained in:
Cheng Zhao 2015-01-09 16:00:26 -08:00
parent f8a9348bcf
commit 02d632c4f7
2 changed files with 4 additions and 2 deletions

View file

@ -69,7 +69,8 @@ net::URLRequestContextGetter* BrowserClient::CreateRequestContext(
void BrowserClient::ShowDesktopNotification(
const content::ShowDesktopNotificationHostMsgParams& params,
content::RenderFrameHost* render_frame_host,
content::BrowserContext* browser_context,
int render_process_id,
scoped_ptr<content::DesktopNotificationDelegate> delegate,
base::Closure* cancel_callback) {
auto presenter = notification_presenter();

View file

@ -43,7 +43,8 @@ class BrowserClient : public content::ContentBrowserClient {
const content::MainFunctionParams&) override;
void ShowDesktopNotification(
const content::ShowDesktopNotificationHostMsgParams& params,
content::RenderFrameHost* render_frame_host,
content::BrowserContext* browser_context,
int render_process_id,
scoped_ptr<content::DesktopNotificationDelegate> delegate,
base::Closure* cancel_callback) override;
content::MediaObserver* GetMediaObserver() override;