Chromium Code Reviews| 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..e767b346accee069e2facfba29be653f6cde0534 100644 |
| --- a/chrome/browser/extensions/startup_helper.h |
| +++ b/chrome/browser/extensions/startup_helper.h |
| @@ -29,6 +29,10 @@ 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. |
|
Matt Perry
2013/03/20 19:52:15
The code just unpacks it. That doesn't necessarily
asargent_no_longer_on_chrome
2013/03/21 21:34:44
As discussed offline, I think most 'error' checks
|
| + bool ValidateCrx(const CommandLine& cmd_line); |
| + |
| // 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. |