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

Unified Diff: chrome/browser/ui/app_list/search/webstore/webstore_result.h

Issue 339103002: Update the EphemeralAppLauncher for use by the webstorePrivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again Created 6 years, 6 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/browser/ui/app_list/search/webstore/webstore_result.h
diff --git a/chrome/browser/ui/app_list/search/webstore/webstore_result.h b/chrome/browser/ui/app_list/search/webstore/webstore_result.h
index 9160f0f7de048e2dd0786e78bdee7b1e062f110b..7be3d87000cf0f3d847dc92de53691ee838a3876 100644
--- a/chrome/browser/ui/app_list/search/webstore/webstore_result.h
+++ b/chrome/browser/ui/app_list/search/webstore/webstore_result.h
@@ -10,6 +10,7 @@
#include "base/basictypes.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/extensions/install_observer.h"
+#include "chrome/browser/extensions/webstore_install_result.h"
#include "chrome/browser/ui/app_list/search/chrome_search_result.h"
#include "extensions/browser/extension_registry_observer.h"
#include "url/gurl.h"
@@ -48,6 +49,8 @@ class WebstoreResult : public ChromeSearchResult,
void StartInstall(bool launch_ephemeral_app);
void InstallCallback(bool success, const std::string& error);
+ void LaunchCallback(extensions::webstore_install::Result result,
+ const std::string& error);
// Start observing both InstallObserver and ExtensionRegistryObserver.
void StartObserving();

Powered by Google App Engine
This is Rietveld 408576698