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

Unified Diff: content/browser/renderer_host/render_message_filter.h

Issue 25492006: Makes the response to CheckNotificationPermission asynchronous. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_message_filter.h
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h
index 4eb986471c936aeedabe1d0d33e83f5323415d89..e39ee048dfd3188139c0614b59d0ca08966024ff 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -26,6 +26,7 @@
#include "media/base/channel_layout.h"
#include "net/cookies/canonical_cookie.h"
#include "third_party/WebKit/public/web/WebPopupType.h"
+#include "third_party/WebKit/public/web/WebNotificationPresenter.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/surface/transport_dib.h"
@@ -190,8 +191,9 @@ class RenderMessageFilter : public BrowserMessageFilter {
const GURL& url,
const Referrer& referrer,
const string16& suggested_name);
+
void OnCheckNotificationPermission(const GURL& source_origin,
- int* permission_level);
+ IPC::Message* reply_msg);
void OnGetCPUUsage(int* cpu_usage);
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698