Adapt to API changes of Chrome 38
This commit is contained in:
parent
5c455b6ff9
commit
5bec155c81
13 changed files with 77 additions and 73 deletions
|
@ -69,11 +69,11 @@ net::URLRequestContextGetter* BrowserClient::CreateRequestContext(
|
|||
void BrowserClient::ShowDesktopNotification(
|
||||
const content::ShowDesktopNotificationHostMsgParams& params,
|
||||
content::RenderFrameHost* render_frame_host,
|
||||
content::DesktopNotificationDelegate* delegate,
|
||||
scoped_ptr<content::DesktopNotificationDelegate> delegate,
|
||||
base::Closure* cancel_callback) {
|
||||
auto presenter = notification_presenter();
|
||||
if (presenter)
|
||||
presenter->ShowNotification(params, delegate, cancel_callback);
|
||||
presenter->ShowNotification(params, delegate.Pass(), cancel_callback);
|
||||
}
|
||||
|
||||
content::MediaObserver* BrowserClient::GetMediaObserver() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue