| Index: chrome/browser/extensions/startup_helper.cc
|
| diff --git a/chrome/browser/extensions/startup_helper.cc b/chrome/browser/extensions/startup_helper.cc
|
| index 605a93194f687d206e44bcbfe085f1988246d548..4074b5f7c849ac6145256c68fb78777493b9e84e 100644
|
| --- a/chrome/browser/extensions/startup_helper.cc
|
| +++ b/chrome/browser/extensions/startup_helper.cc
|
| @@ -195,23 +195,6 @@ bool StartupHelper::ValidateCrx(const CommandLine& cmd_line,
|
| return success;
|
| }
|
|
|
| -bool StartupHelper::UninstallExtension(const CommandLine& cmd_line,
|
| - Profile* profile) {
|
| - DCHECK(profile);
|
| -
|
| - if (!cmd_line.HasSwitch(switches::kUninstallExtension))
|
| - return false;
|
| -
|
| - ExtensionService* extension_service = profile->GetExtensionService();
|
| - if (!extension_service)
|
| - return false;
|
| -
|
| - std::string extension_id = cmd_line.GetSwitchValueASCII(
|
| - switches::kUninstallExtension);
|
| - return ExtensionService::UninstallExtensionHelper(extension_service,
|
| - extension_id);
|
| -}
|
| -
|
| namespace {
|
|
|
| class AppInstallHelper {
|
|
|