| Index: content/shell/browser/layout_test/layout_test_notification_manager.h
|
| diff --git a/content/shell/browser/layout_test/layout_test_notification_manager.h b/content/shell/browser/layout_test/layout_test_notification_manager.h
|
| index edccd4969150c4c37a1a7fc671738da015d2abd7..be79c5fe728518ed1a2035e6fd419877170723e9 100644
|
| --- a/content/shell/browser/layout_test/layout_test_notification_manager.h
|
| +++ b/content/shell/browser/layout_test/layout_test_notification_manager.h
|
| @@ -27,14 +27,12 @@ class LayoutTestNotificationManager {
|
|
|
| // Checks whether |origin| has permission to display notifications in tests.
|
| // Must be called on the IO thread.
|
| - blink::WebNotificationPermission CheckPermission(
|
| - const GURL& origin);
|
| + blink::WebNotificationPermission CheckPermission(const GURL& origin);
|
|
|
| // Requests permission for |origin| to display notifications in layout tests.
|
| // Must be called on the IO thread.
|
| - void RequestPermission(
|
| - const GURL& origin,
|
| - const base::Callback<void(bool)>& callback);
|
| + // Returns whether the permission is granted.
|
| + bool RequestPermission(const GURL& origin);
|
|
|
| // Sets the permission to display notifications for |origin| to |permission|.
|
| // Must be called on the IO thread.
|
|
|