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

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: Self nit 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..44f37d978cc4618136b2e9f8c4659726c8c7d387 100644
--- a/chrome/browser/ui/app_list/search/webstore/webstore_result.h
+++ b/chrome/browser/ui/app_list/search/webstore/webstore_result.h
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "base/memory/weak_ptr.h"
+#include "chrome/browser/apps/ephemeral_app_launcher.h"
#include "chrome/browser/extensions/install_observer.h"
#include "chrome/browser/ui/app_list/search/chrome_search_result.h"
#include "extensions/browser/extension_registry_observer.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(EphemeralAppLauncher::LaunchResult result,
+ const std::string& error);
// Start observing both InstallObserver and ExtensionRegistryObserver.
void StartObserving();

Powered by Google App Engine
This is Rietveld 408576698