| Index: content/shell/browser/layout_test/layout_test_notification_manager.cc
|
| diff --git a/content/shell/browser/layout_test/layout_test_notification_manager.cc b/content/shell/browser/layout_test/layout_test_notification_manager.cc
|
| index 7366aabcd8f242d08132b18e17f63463a4bd0783..dd8fc22376a029ec3f2f1177474183da51384f37 100644
|
| --- a/content/shell/browser/layout_test/layout_test_notification_manager.cc
|
| +++ b/content/shell/browser/layout_test/layout_test_notification_manager.cc
|
| @@ -27,12 +27,8 @@ LayoutTestNotificationManager::CheckPermission(const GURL& origin) {
|
| return iter->second;
|
| }
|
|
|
| -void LayoutTestNotificationManager::RequestPermission(
|
| - const GURL& origin,
|
| - const base::Callback<void(bool)>& callback) {
|
| - bool allowed =
|
| - CheckPermission(origin) == blink::WebNotificationPermissionAllowed;
|
| - callback.Run(allowed);
|
| +bool LayoutTestNotificationManager::RequestPermission(const GURL& origin) {
|
| + return CheckPermission(origin) == blink::WebNotificationPermissionAllowed;
|
| }
|
|
|
| void LayoutTestNotificationManager::SetPermission(
|
|
|