| Index: extensions/browser/content_verify_job.h
|
| diff --git a/extensions/browser/content_verify_job.h b/extensions/browser/content_verify_job.h
|
| index 3ec9f852e0e32f88448564932534273af500f482..67b7f0592350f90986e95b56aafbbbf63946edd9 100644
|
| --- a/extensions/browser/content_verify_job.h
|
| +++ b/extensions/browser/content_verify_job.h
|
| @@ -78,7 +78,18 @@ class ContentVerifyJob : public base::RefCountedThreadSafe<ContentVerifyJob> {
|
| virtual FailureReason DoneReading(const std::string& extension_id) = 0;
|
| };
|
|
|
| + class TestObserver {
|
| + public:
|
| + virtual void JobStarted(const std::string& extension_id,
|
| + const base::FilePath& relative_path) = 0;
|
| +
|
| + virtual void JobFinished(const std::string& extension_id,
|
| + const base::FilePath& relative_path,
|
| + bool failed) = 0;
|
| + };
|
| +
|
| static void SetDelegateForTests(TestDelegate* delegate);
|
| + static void SetObserverForTests(TestObserver* observer);
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(ContentVerifyJob);
|
|
|