// an initial one so that MustRemainDisabled can actually check against it.
bool NeedsBootstrap();
+ // Returns the timestamp of our InstallSignature, if we have one.
+ base::Time SignatureTimestamp();
+
// A callback for indicating success/failure of adding new ids.
typedef base::Callback<void(bool)> AddResultCallback;
// Returns whether the given |id| is included in our verified signature.
bool IsVerified(const std::string& id) const;
+ // Returns true if the extension with |id| was installed later than the
+ // timestamp of our signature.
+ bool WasInstalledAfterSignature(const std::string& id) const;
+
// Begins the process of fetching a new signature, based on applying the
// operation at the head of the queue to the current set of ids in
// |signature_| (if any) and then sending a request to sign that.