| Index: chrome/browser/extensions/startup_helper.h
|
| diff --git a/chrome/browser/extensions/startup_helper.h b/chrome/browser/extensions/startup_helper.h
|
| index 01ccfa6a0818363d968282dea63149b9c50a8d71..68441941da8a40f937afcf6f19b663d482a8771e 100644
|
| --- a/chrome/browser/extensions/startup_helper.h
|
| +++ b/chrome/browser/extensions/startup_helper.h
|
| @@ -29,6 +29,12 @@ class StartupHelper : public PackExtensionJob::Client {
|
| // extension. Returns false if the pack job failed.
|
| bool PackExtension(const CommandLine& cmd_line);
|
|
|
| + // Validates a crx at the path given by the --validate-extension flag - can
|
| + // it be installed? Returns true if the crx is valid, or false otherwise.
|
| + // If the return value is false, a description of the problem may be written
|
| + // into |error|.
|
| + bool ValidateCrx(const CommandLine& cmd_line, std::string* error);
|
| +
|
| // Handle --uninstall-extension flag from the |cmd_line| by uninstalling the
|
| // specified extension from |profile|. Returns false if the uninstall job
|
| // could not be started.
|
|
|