Index: chrome/browser/extensions/install_verifier.h |
diff --git a/chrome/browser/extensions/install_verifier.h b/chrome/browser/extensions/install_verifier.h |
index 1131e384f6014b94d8b5a46a0f29cc7029f8290c..32cc9729fb5394b5a984f324739cc9f303ecd553 100644 |
--- a/chrome/browser/extensions/install_verifier.h |
+++ b/chrome/browser/extensions/install_verifier.h |
@@ -45,13 +45,15 @@ class InstallVerifier : public ManagementPolicy::Provider { |
// validating the stored signature. |
void Init(); |
+ // Do we need to be bootstrapped? (i.e. do we have a signature already). |
+ bool NeedsBootstrap(); |
+ |
// A callback for indicating success/failure of adding new ids. |
typedef base::Callback<void(bool)> AddResultCallback; |
// Try adding a new |id| (or set of ids) to the list of verified ids. When |
- // this process is finished |callback| will be run with success/failure. In |
- // case of success, subsequent calls to IsVerified will begin returning true |
- // for |id|. |
+ // this process is finished |callback| will be run with success/failure of |
+ // the signature request (not necessarily whether the ids were verified). |
void Add(const std::string& id, const AddResultCallback& callback); |
void AddMany(const ExtensionIdSet& ids, |
const AddResultCallback& callback); |