Index: chrome/renderer/extensions/extension_helper.h |
diff --git a/chrome/renderer/extensions/extension_helper.h b/chrome/renderer/extensions/extension_helper.h |
index 4365cd80937931dacefcd517207f558707056717..3338f361d472b4ba3a52b725fa8b9035ab3a9876 100644 |
--- a/chrome/renderer/extensions/extension_helper.h |
+++ b/chrome/renderer/extensions/extension_helper.h |
@@ -45,6 +45,12 @@ class ExtensionHelper : public RenderViewObserver, |
std::string webstore_item_id, |
GURL requestor_url); |
+ // Starts fetching a channel id for server pushed notifications. The result |
+ // comes back via OnGetAppNotifyChannelResponse. |
+ void GetAppNotifyChannel(int request_id, |
+ const GURL& requestor_url, |
+ const std::string& client_id); |
+ |
int browser_window_id() const { return browser_window_id_; } |
ViewType::Type view_type() const { return view_type_; } |
@@ -74,6 +80,8 @@ class ExtensionHelper : public RenderViewObserver, |
void OnUpdateBrowserWindowId(int window_id); |
void OnInlineWebstoreInstallResponse( |
int install_id, bool success, const std::string& error); |
+ void OnGetAppNotifyChannelResponse( |
+ int request_id, const std::string& channel_id, const std::string& error); |
// Callback triggered when we finish downloading the application definition |
// file. |