| Index: chrome/browser/extensions/startup_helper.h
|
| diff --git a/chrome/browser/extensions/startup_helper.h b/chrome/browser/extensions/startup_helper.h
|
| index e7829069c0bec1b99337fdfdfbed44a0b79dbee4..3bb2fd81c269f3509674fcc249c89c8c8e4a9b6d 100644
|
| --- a/chrome/browser/extensions/startup_helper.h
|
| +++ b/chrome/browser/extensions/startup_helper.h
|
| @@ -38,25 +38,11 @@ class StartupHelper : public PackExtensionJob::Client {
|
| // into |error|.
|
| bool ValidateCrx(const base::CommandLine& cmd_line, std::string* error);
|
|
|
| - // Handle --install-from-webstore flag from |cmd_line| by downloading
|
| - // metadata from the webstore for the given id, prompting the user to
|
| - // confirm, and then downloading the crx and installing it.
|
| - bool InstallFromWebstore(const base::CommandLine& cmd_line, Profile* profile);
|
| + // Handle --install-ephemeral-app-from-webstore flag from |cmd_line| by
|
| + // downloading metadata from the webstore for the given id, prompting the
|
| + // user to confirm, and then downloading the crx and installing it.
|
| + bool InstallEphemeralApp(const base::CommandLine& cmd_line, Profile* profile);
|
|
|
| - // Handle --limited-install-from-webstore flag from |cmd_line| by downloading
|
| - // metadata from the webstore for the given id, prompting the user to
|
| - // confirm, and then downloading the crx and installing it.
|
| - // This whole process is only kicked off by this function and completed
|
| - // asynchronously unlike InstallFromWebstore which finishes everything before
|
| - // returning.
|
| - void LimitedInstallFromWebstore(const base::CommandLine& cmd_line,
|
| - Profile* profile,
|
| - base::Callback<void()> done_callback);
|
| -
|
| - // Maps the command line argument to the extension id. Returns an empty string
|
| - // in the case when there is no mapping.
|
| - std::string WebStoreIdFromLimitedInstallCmdLine(
|
| - const base::CommandLine& cmd_line);
|
| private:
|
| scoped_refptr<PackExtensionJob> pack_job_;
|
| bool pack_job_succeeded_;
|
|
|