Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2269)

Unified Diff: content/shell/browser/layout_test/layout_test_notification_manager.h

Issue 622793002: Group the different permission related methods in the content api. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b97efa44166ac46b7953797c3c393bed41eeb0d1..42f61b49cc78cbcd2cd7719f29790a454c3218cc 100644
--- a/content/shell/browser/layout_test/layout_test_notification_manager.h
+++ b/content/shell/browser/layout_test/layout_test_notification_manager.h
@@ -26,9 +26,8 @@ class LayoutTestNotificationManager {
const GURL& origin);
// Requests permission for |origin| to display notifications in layout tests.
- void RequestPermission(
- const GURL& origin,
- const base::Callback<void(blink::WebNotificationPermission)>& callback);
+ void RequestPermission(const GURL& origin,
+ const base::Callback<void(bool)>& callback);
// Sets the permission to display notifications for |origin| to |permission|.
void SetPermission(const GURL& origin,

Powered by Google App Engine
This is Rietveld 408576698