| Index: chrome/browser/extensions/install_verifier.h
|
| diff --git a/chrome/browser/extensions/install_verifier.h b/chrome/browser/extensions/install_verifier.h
|
| index 47b44077842a9e1b5e1f2cb670a20fdcf4da22a8..836faec24ac4da228d327ef27489fdbe07f24229 100644
|
| --- a/chrome/browser/extensions/install_verifier.h
|
| +++ b/chrome/browser/extensions/install_verifier.h
|
| @@ -59,6 +59,13 @@ class InstallVerifier : public ManagementPolicy::Provider {
|
| // tells us that it was invalid when we asked the server about it.
|
| bool IsKnownId(const std::string& id);
|
|
|
| + // Returns whether the given |id| is included in our verified signature.
|
| + bool IsVerified(const std::string& id) const;
|
| +
|
| + // Returns whether the given |id| is considered invalid by our verified
|
| + // signature.
|
| + bool IsInvalid(const std::string& id) const;
|
| +
|
| // Attempts to verify a single extension and add it to the verified list.
|
| void VerifyExtension(const std::string& extension_id);
|
|
|
| @@ -73,6 +80,9 @@ class InstallVerifier : public ManagementPolicy::Provider {
|
| void Remove(const std::string& id);
|
| void RemoveMany(const ExtensionIdSet& ids);
|
|
|
| + // Determines if an extension claims to be from the webstore.
|
| + static bool FromStore(const Extension& extension);
|
| +
|
| // ManagementPolicy::Provider interface.
|
| virtual std::string GetDebugPolicyProviderName() const OVERRIDE;
|
| virtual bool MustRemainDisabled(const Extension* extension,
|
| @@ -121,9 +131,6 @@ class InstallVerifier : public ManagementPolicy::Provider {
|
| // Returns whether an extension id is allowed by policy.
|
| bool AllowedByEnterprisePolicy(const std::string& id) const;
|
|
|
| - // 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;
|
|
|