| Index: extensions/browser/content_verify_job.h
|
| diff --git a/extensions/browser/content_verify_job.h b/extensions/browser/content_verify_job.h
|
| index 6ffa3a04aa5b111d057791fdccb0af62cba07f5f..69928869abdbc2d6b9a2bb34e169b83470fa2e3e 100644
|
| --- a/extensions/browser/content_verify_job.h
|
| +++ b/extensions/browser/content_verify_job.h
|
| @@ -76,7 +76,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);
|
|
|