| Index: extensions/browser/content_verifier_delegate.h
|
| diff --git a/extensions/browser/content_verifier_delegate.h b/extensions/browser/content_verifier_delegate.h
|
| index c702a2808cf32debbc24c8756696b607247da02c..a6b909f43f40958718f872efcfaee2e0e13decbd 100644
|
| --- a/extensions/browser/content_verifier_delegate.h
|
| +++ b/extensions/browser/content_verifier_delegate.h
|
| @@ -5,9 +5,12 @@
|
| #ifndef EXTENSIONS_BROWSER_CONTENT_VERIFIER_DELEGATE_H_
|
| #define EXTENSIONS_BROWSER_CONTENT_VERIFIER_DELEGATE_H_
|
|
|
| +#include <set>
|
| +
|
| #include "url/gurl.h"
|
|
|
| namespace base {
|
| +class FilePath;
|
| class Version;
|
| }
|
|
|
| @@ -46,6 +49,11 @@ class ContentVerifierDelegate {
|
| virtual GURL GetSignatureFetchUrl(const std::string& extension_id,
|
| const base::Version& version) = 0;
|
|
|
| + // This should return the set of file paths for images used within the
|
| + // browser process. (These may get transcoded during the install process).
|
| + virtual std::set<base::FilePath> GetBrowserImagePaths(
|
| + const extensions::Extension* extension) = 0;
|
| +
|
| // Called when the content verifier detects that a read of a file inside
|
| // an extension did not match its expected hash.
|
| virtual void VerifyFailed(const std::string& extension_id) = 0;
|
|
|