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

Unified Diff: chrome/renderer/extensions/chrome_app_bindings.h

Issue 8113006: Add js api for hosted/pacakged apps to request notification authorization (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 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: chrome/renderer/extensions/chrome_app_bindings.h
diff --git a/chrome/renderer/extensions/chrome_app_bindings.h b/chrome/renderer/extensions/chrome_app_bindings.h
index 8e7da1b9b8ab1c591e9ea8bd9009f951a2a0f96d..5bb0fb8a503c07afe96b0f13c90bcf80787e6874 100644
--- a/chrome/renderer/extensions/chrome_app_bindings.h
+++ b/chrome/renderer/extensions/chrome_app_bindings.h
@@ -12,6 +12,8 @@
#define CHROME_RENDERER_EXTENSIONS_CHROME_APP_BINDINGS_H_
#pragma once
+#include <string>
+
class ExtensionDispatcher;
namespace v8 {
@@ -23,6 +25,8 @@ namespace extensions_v8 {
class ChromeAppExtension {
public:
static v8::Extension* Get(ExtensionDispatcher* extension_dispatcher);
+ static void HandleGetAppNotifyChannelResponse(
+ int request_id, const std::string& channel_id, const std::string& error);
};
} // namespace extensions_v8

Powered by Google App Engine
This is Rietveld 408576698