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

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: Rebase 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 258f84a7414eb95c5ff66ca1e2a5613fdc0e93c6..edccd4969150c4c37a1a7fc671738da015d2abd7 100644
--- a/content/shell/browser/layout_test/layout_test_notification_manager.h
+++ b/content/shell/browser/layout_test/layout_test_notification_manager.h
@@ -34,7 +34,7 @@ class LayoutTestNotificationManager {
// Must be called on the IO thread.
void RequestPermission(
const GURL& origin,
- const base::Callback<void(blink::WebNotificationPermission)>& callback);
+ const base::Callback<void(bool)>& callback);
// Sets the permission to display notifications for |origin| to |permission|.
// Must be called on the IO thread.

Powered by Google App Engine
This is Rietveld 408576698