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

Unified Diff: content/shell/browser/shell_message_filter.h

Issue 395883002: Support layout testing Web Notifications from Document and Worker contexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/shell_message_filter.h
diff --git a/content/shell/browser/shell_message_filter.h b/content/shell/browser/shell_message_filter.h
index 6b0024cac434261e680323dfa37ea707f44fe615..e3cc5757223285f9081732063c2e47894b3d76a2 100644
--- a/content/shell/browser/shell_message_filter.h
+++ b/content/shell/browser/shell_message_filter.h
@@ -12,6 +12,8 @@
#include "base/files/file_path.h"
#include "content/public/browser/browser_message_filter.h"
+class GURL;
+
namespace net {
class URLRequestContextGetter;
}
@@ -48,6 +50,10 @@ class ShellMessageFilter : public BrowserMessageFilter {
std::string* filesystem_id);
void OnClearAllDatabases();
void OnSetDatabaseQuota(int quota);
+ void OnCheckWebNotificationPermission(const GURL& origin, int* result);
+ void OnGrantWebNotificationPermission(const GURL& origin,
+ bool permission_granted);
+ void OnClearWebNotificationPermissions();
void OnAcceptAllCookies(bool accept);
void OnDeleteAllCookies();

Powered by Google App Engine
This is Rietveld 408576698