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..68c44834ae4d44ff2ac4748cd8fbf3d68a430bce 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? (Ie do we have a signature already) |
Finnur
2013/12/16 14:21:51
nit: s/Ie/i.e.
End with period.
asargent_no_longer_on_chrome
2013/12/16 18:47:10
Done.
|
+ 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); |