| Index: content/shell/browser/layout_test/layout_test_content_browser_client.h
|
| diff --git a/content/shell/browser/layout_test/layout_test_content_browser_client.h b/content/shell/browser/layout_test/layout_test_content_browser_client.h
|
| index f58032a0e4142900a26d3ac1b8015e3c3f594f0a..536c378ca9e3e89ac5813e0a5b390b08fb96d74a 100644
|
| --- a/content/shell/browser/layout_test/layout_test_content_browser_client.h
|
| +++ b/content/shell/browser/layout_test/layout_test_content_browser_client.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_
|
| #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_
|
|
|
| +#include "content/public/browser/permission_type.h"
|
| #include "content/shell/browser/shell_content_browser_client.h"
|
|
|
| namespace content {
|
| @@ -24,11 +25,13 @@ class LayoutTestContentBrowserClient : public ShellContentBrowserClient {
|
|
|
| // ContentBrowserClient overrides.
|
| void RenderProcessWillLaunch(RenderProcessHost* host) override;
|
| - void RequestDesktopNotificationPermission(
|
| - const GURL& source_origin,
|
| - RenderFrameHost* render_frame_host,
|
| - const base::Callback<void(blink::WebNotificationPermission)>& callback)
|
| - override;
|
| + void RequestPermission(
|
| + PermissionType permission,
|
| + WebContents* web_contents,
|
| + int bridge_id,
|
| + const GURL& requesting_frame,
|
| + bool user_gesture,
|
| + const base::Callback<void(bool)>& result_callback) override;
|
| blink::WebNotificationPermission CheckDesktopNotificationPermission(
|
| const GURL& source_url,
|
| ResourceContext* context,
|
|
|