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

Unified Diff: chrome/browser/apps/ephemeral_app_throttle.cc

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/apps/ephemeral_app_throttle.cc
diff --git a/chrome/browser/apps/ephemeral_app_throttle.cc b/chrome/browser/apps/ephemeral_app_throttle.cc
index be398cb5dac350041c4dc579bbb03160c264dd00..d4b04070ae1e34379846ebd7456c1984d48a4b9e 100644
--- a/chrome/browser/apps/ephemeral_app_throttle.cc
+++ b/chrome/browser/apps/ephemeral_app_throttle.cc
@@ -52,7 +52,8 @@ bool LaunchEphemeralApp(
// The EphemeralAppLauncher will handle launching of an existing app or
// installing and launching a new ephemeral app.
scoped_refptr<EphemeralAppLauncher> installer =
- EphemeralAppLauncher::CreateForLink(app_id, source);
+ EphemeralAppLauncher::CreateForWebContents(
+ app_id, source, EphemeralAppLauncher::LaunchCallback());
installer->Start();
return true;
}
« no previous file with comments | « chrome/browser/apps/ephemeral_app_launcher_browsertest.cc ('k') | chrome/browser/extensions/extension_install_checker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698