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

Unified Diff: chrome/browser/extensions/extension_tab_helper.h

Issue 7795032: Add link URL and success/failure callback parameters to chrome.webstore.install() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback Created 9 years, 3 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 | « no previous file | chrome/browser/extensions/extension_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_tab_helper.h
diff --git a/chrome/browser/extensions/extension_tab_helper.h b/chrome/browser/extensions/extension_tab_helper.h
index 1b1b5ad8fe126d4a85cc2efdbfdd0f233cfb919a..1b4900dc1eb2bd7269225d40aa3b7d7942629eb6 100644
--- a/chrome/browser/extensions/extension_tab_helper.h
+++ b/chrome/browser/extensions/extension_tab_helper.h
@@ -97,7 +97,9 @@ class ExtensionTabHelper : public TabContentsObserver,
// Message handlers.
void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info);
void OnInstallApplication(const WebApplicationInfo& info);
- void OnInlineWebstoreInstall(const std::string& webstore_item_id);
+ void OnInlineWebstoreInstall(int install_id,
+ const std::string& webstore_item_id,
+ const GURL& requestor_url);
void OnRequest(const ExtensionHostMsg_Request_Params& params);
// App extensions related methods:
@@ -111,8 +113,9 @@ class ExtensionTabHelper : public TabContentsObserver,
int index) OVERRIDE;
// WebstoreInlineInstaller::Delegate.
- virtual void OnInlineInstallSuccess() OVERRIDE;
- virtual void OnInlineInstallFailure(const std::string& error) OVERRIDE;
+ virtual void OnInlineInstallSuccess(int install_id) OVERRIDE;
+ virtual void OnInlineInstallFailure(int install_id,
+ const std::string& error) OVERRIDE;
// Data for app extensions ---------------------------------------------------
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698