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

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

Issue 617833003: Remove --install-from-webstore and --limited-install-from-webstore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/startup_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/startup_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698